Force HTML in upload placeholder message

This commit is contained in:
Djamil Legato
2017-03-13 13:33:36 -07:00
parent fbc359a91b
commit 7a7cafd707
2 changed files with 3 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ const DropzoneMediaConfig = {
thumbnailWidth: 200,
thumbnailHeight: 150,
addRemoveLinks: false,
dictDefaultMessage: translations.PLUGIN_ADMIN.DROP_FILES_HERE_TO_UPLOAD,
dictDefaultMessage: translations.PLUGIN_ADMIN.DROP_FILES_HERE_TO_UPLOAD.replace(/&lt;/g, '<').replace(/&gt;/g, '>'),
dictRemoveFileConfirmation: '[placeholder]',
previewTemplate: `
<div class="dz-preview dz-file-preview dz-no-editor">

File diff suppressed because one or more lines are too long