mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-05 07:03:51 +08:00
Merge pull request #6524 from aignatov-bio/ai-sci-9594-fix-marvinjs-in-edit-mode
Fix marvinJS in tinymce [SCI-9594]
This commit is contained in:
commit
5972140fd0
1 changed files with 1 additions and 0 deletions
|
@ -325,6 +325,7 @@ class Constants
|
|||
config[:attributes][:all] << 'id'
|
||||
config[:attributes][:all] << 'contenteditable'
|
||||
config[:attributes]['img'] << 'data-mce-token'
|
||||
config[:attributes]['img'] << 'data-source-type'
|
||||
config[:protocols]['img']['src'] << 'data'
|
||||
INPUT_SANITIZE_CONFIG = Sanitize::Config.freeze_config(config)
|
||||
|
||||
|
|
Loading…
Reference in a new issue