Skip to content
Snippets Groups Projects
Commit 094a9e16 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2067427 by Wim Leers: Fixed...

Issue #2067427 by Wim Leers: Fixed Drupal.editors.ckeditor.attachInlineEditor() should pass Drupal-specific settings like Drupal.editors.ckeditor.attach() does.
parent 2824506d
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -41,6 +41,10 @@ Drupal.editors.ckeditor = {
attachInlineEditor: function (element, format, mainToolbarId, floatedToolbarId) {
this._loadExternalPlugins(format);
this._ACF_HACK_to_support_blacklisted_attributes(element, format);
// Also pass settings that are Drupal-specific.
format.editorSettings.drupal = {
format: format.format
};
var settings = $.extend(true, {}, format.editorSettings);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment