Created
January 10, 2017 13:36
-
-
Save junaidpv/b90225141db6cdc837842f775700761f to your computer and use it in GitHub Desktop.
Patch to allow media item widget to be used with these templates.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/plugins/widgetbootstrap/plugin.js b/plugins/widgetbootstrap/plugin.js | |
| index e670302..bffe1d5 100755 | |
| --- a/plugins/widgetbootstrap/plugin.js | |
| +++ b/plugins/widgetbootstrap/plugin.js | |
| @@ -49,12 +49,10 @@ CKEDITOR.plugins.add( 'widgetbootstrap', { | |
| editables: { | |
| col1: { | |
| - selector: '.col-sidebar', | |
| - allowedContent: allowedWidget | |
| + selector: '.col-sidebar' | |
| }, | |
| col2: { | |
| - selector: '.col-main', | |
| - allowedContent: allowedWidget | |
| + selector: '.col-main' | |
| } | |
| }, | |
| @@ -78,12 +76,10 @@ CKEDITOR.plugins.add( 'widgetbootstrap', { | |
| editables: { | |
| col1: { | |
| - selector: '.col-sidebar', | |
| - allowedContent: allowedWidget | |
| + selector: '.col-sidebar' | |
| }, | |
| col2: { | |
| - selector: '.col-main', | |
| - allowedContent: allowedWidget | |
| + selector: '.col-main' | |
| } | |
| }, | |
| @@ -107,12 +103,10 @@ CKEDITOR.plugins.add( 'widgetbootstrap', { | |
| editables: { | |
| col1: { | |
| - selector: '.col-1', | |
| - allowedContent: allowedWidget | |
| + selector: '.col-1' | |
| }, | |
| col2: { | |
| - selector: '.col-2', | |
| - allowedContent: allowedWidget | |
| + selector: '.col-2' | |
| } | |
| }, | |
| @@ -137,16 +131,13 @@ CKEDITOR.plugins.add( 'widgetbootstrap', { | |
| editables: { | |
| col1: { | |
| - selector: '.col-1', | |
| - allowedContent: allowedWidget | |
| + selector: '.col-1' | |
| }, | |
| col2: { | |
| - selector: '.col-2', | |
| - allowedContent: allowedWidget | |
| + selector: '.col-2' | |
| }, | |
| col3: { | |
| - selector: '.col-3', | |
| - allowedContent: allowedWidget | |
| + selector: '.col-3' | |
| } | |
| }, | |
| @@ -173,8 +164,7 @@ CKEDITOR.plugins.add( 'widgetbootstrap', { | |
| editables: { | |
| alertBox: { | |
| - selector: '.alert-text', | |
| - allowedContent: allowedWidget | |
| + selector: '.alert-text' | |
| }, | |
| }, | |
| @@ -323,4 +313,4 @@ CKEDITOR.plugins.add( 'widgetbootstrap', { | |
| } | |
| -} ); | |
| \ No newline at end of file | |
| +} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment