aboutsummaryrefslogtreecommitdiff
path: root/sources/plugins/div/plugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'sources/plugins/div/plugin.js')
-rw-r--r--sources/plugins/div/plugin.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/plugins/div/plugin.js b/sources/plugins/div/plugin.js
index dbced72..a64d9e9 100644
--- a/sources/plugins/div/plugin.js
+++ b/sources/plugins/div/plugin.js
@@ -12,7 +12,7 @@
12 CKEDITOR.plugins.add( 'div', { 12 CKEDITOR.plugins.add( 'div', {
13 requires: 'dialog', 13 requires: 'dialog',
14 // jscs:disable maximumLineLength 14 // jscs:disable maximumLineLength
15 lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% 15 lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
16 // jscs:enable maximumLineLength 16 // jscs:enable maximumLineLength
17 icons: 'creatediv', // %REMOVE_LINE_CORE% 17 icons: 'creatediv', // %REMOVE_LINE_CORE%
18 hidpi: true, // %REMOVE_LINE_CORE% 18 hidpi: true, // %REMOVE_LINE_CORE%
@@ -126,7 +126,7 @@
126 getSurroundDiv: function( editor, start ) { 126 getSurroundDiv: function( editor, start ) {
127 var path = editor.elementPath( start ); 127 var path = editor.elementPath( start );
128 return editor.elementPath( path.blockLimit ).contains( function( node ) { 128 return editor.elementPath( path.blockLimit ).contains( function( node ) {
129 // Avoid read-only (i.e. contenteditable="false") divs (#11083). 129 // Avoid read-only (i.e. contenteditable="false") divs (http://dev.ckeditor.com/ticket/11083).
130 return node.is( 'div' ) && !node.isReadOnly(); 130 return node.is( 'div' ) && !node.isReadOnly();
131 }, 1 ); 131 }, 1 );
132 } 132 }