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:
Martin Artnik 2023-10-24 16:33:16 +02:00 committed by GitHub
commit 5972140fd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)