From ffdc656f11f2aaa5769b9a8bb0a6842f305bd951 Mon Sep 17 00:00:00 2001 From: maijs Date: Wed, 26 Jul 2017 18:01:58 +0300 Subject: [PATCH] Property "requiredContent" lists only attributes and classes that are actually used and required by the plugin. --- footnotes/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/footnotes/plugin.js b/footnotes/plugin.js index dfd4a24..dcb116b 100644 --- a/footnotes/plugin.js +++ b/footnotes/plugin.js @@ -116,7 +116,7 @@ editor.addCommand('footnotes', new CKEDITOR.dialogCommand('footnotesDialog', { // @TODO: This needs work: allowedContent: 'section[*](*);header[*](*);li[*];a[*];cite(*)[*];sup[*]', - requiredContent: 'section[*](*);header[*](*);li[*];a[*];cite(*)[*];sup[*]' + requiredContent: 'section(footnotes);header;li[id,data-footnote-id];a[href,id,rel];cite;sup[data-footnote-id]' })); // Create a toolbar button that executes the above command.