Commit 094a9e16 authored by webchick's avatar webchick

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
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment