mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 15:54:00 +08:00
Fix marvinJS in tinymce [SCI-9594]
This commit is contained in:
parent
1eece29f84
commit
e0f2677d1c
1 changed files with 1 additions and 0 deletions
|
@ -325,6 +325,7 @@ class Constants
|
||||||
config[:attributes][:all] << 'id'
|
config[:attributes][:all] << 'id'
|
||||||
config[:attributes][:all] << 'contenteditable'
|
config[:attributes][:all] << 'contenteditable'
|
||||||
config[:attributes]['img'] << 'data-mce-token'
|
config[:attributes]['img'] << 'data-mce-token'
|
||||||
|
config[:attributes]['img'] << 'data-source-type'
|
||||||
config[:protocols]['img']['src'] << 'data'
|
config[:protocols]['img']['src'] << 'data'
|
||||||
INPUT_SANITIZE_CONFIG = Sanitize::Config.freeze_config(config)
|
INPUT_SANITIZE_CONFIG = Sanitize::Config.freeze_config(config)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue