mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-07-20 09:41:50 +02:00
Force HTML in upload placeholder message
This commit is contained in:
@@ -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(/</g, '<').replace(/>/g, '>'),
|
||||
dictRemoveFileConfirmation: '[placeholder]',
|
||||
previewTemplate: `
|
||||
<div class="dz-preview dz-file-preview dz-no-editor">
|
||||
|
||||
4
themes/grav/js/admin.min.js
vendored
4
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user