From babae75d4c048081b73eea10836d5ec47e9bac50 Mon Sep 17 00:00:00 2001 From: sealocal Date: Mon, 15 Feb 2016 00:24:47 -0800 Subject: [PATCH] add tab-link and data-toggle to allowedContent --- plugin.js | 6 +++--- sample/bootstrapTabs.html | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/plugin.js b/plugin.js index eddfbf0..8b2116c 100644 --- a/plugin.js +++ b/plugin.js @@ -11,9 +11,9 @@ CKEDITOR.plugins.add('bootstrapTabs', { init: function( editor ) { // Plugin logic goes here... - // Create the command for the plugin. - editor.addCommand('bootstrapTabs', new CKEDITOR.dialogCommand('bootstrapTabsDialog', { - allowedContent: 'div ul li a[role,href,id,aria-*,data-number-of-tabs,data-tab-set-title](bootstrap-tabs,nav,nav-tabs,active,tab-content,tab-pane,tab-pane-content)' + // Create the command for the plugin. + editor.addCommand('bootstrapTabs', new CKEDITOR.dialogCommand('bootstrapTabsDialog', { + allowedContent: 'div ul li a[role,href,id,aria-*,data-number-of-tabs,data-tab-set-title,data-toggle](bootstrap-tabs,nav,nav-tabs,tab-link,active,tab-content,tab-pane,tab-pane-content)' })); // Add the button for the plugin. diff --git a/sample/bootstrapTabs.html b/sample/bootstrapTabs.html index 4d75c6c..62b8ae8 100644 --- a/sample/bootstrapTabs.html +++ b/sample/bootstrapTabs.html @@ -2,16 +2,16 @@