From e0f2677d1cdcb975a9156900bd301c3a37aa4439 Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 24 Oct 2023 16:31:20 +0200 Subject: [PATCH] Fix marvinJS in tinymce [SCI-9594] --- config/initializers/constants.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/initializers/constants.rb b/config/initializers/constants.rb index 54c5e5378..b1b035f19 100644 --- a/config/initializers/constants.rb +++ b/config/initializers/constants.rb @@ -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)