aboutsummaryrefslogtreecommitdiff
path: root/sources/plugins/indentblock/plugin.js
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2017-12-04 17:54:04 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2017-12-04 17:54:04 +0100
commit317f8f8f0651488f226b5280a8f036c7c135c639 (patch)
tree97bd4889ab2822a00d4b0f0d5cde38b59f9f41de /sources/plugins/indentblock/plugin.js
parent1096cdefb1c9a3f3c4ca6807e272da6c92e5ed9c (diff)
downloadpiedsjaloux-ckeditor-component-4.7.3.tar.gz
piedsjaloux-ckeditor-component-4.7.3.tar.zst
piedsjaloux-ckeditor-component-4.7.3.zip
Add oembed4.7.3
Diffstat (limited to 'sources/plugins/indentblock/plugin.js')
-rw-r--r--sources/plugins/indentblock/plugin.js16
1 files changed, 15 insertions, 1 deletions
diff --git a/sources/plugins/indentblock/plugin.js b/sources/plugins/indentblock/plugin.js
index 9d31b98..b39fd73 100644
--- a/sources/plugins/indentblock/plugin.js
+++ b/sources/plugins/indentblock/plugin.js
@@ -1,5 +1,5 @@
1/** 1/**
2 * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2 * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3 * For licensing, see LICENSE.md or http://ckeditor.com/license 3 * For licensing, see LICENSE.md or http://ckeditor.com/license
4 */ 4 */
5 5
@@ -39,6 +39,20 @@
39 } 39 }
40 }; 40 };
41 41
42 this.contentTransformations = [
43 [ 'div: splitMarginShorthand' ],
44 [ 'h1: splitMarginShorthand' ],
45 [ 'h2: splitMarginShorthand' ],
46 [ 'h3: splitMarginShorthand' ],
47 [ 'h4: splitMarginShorthand' ],
48 [ 'h5: splitMarginShorthand' ],
49 [ 'h6: splitMarginShorthand' ],
50 [ 'ol: splitMarginShorthand' ],
51 [ 'p: splitMarginShorthand' ],
52 [ 'pre: splitMarginShorthand' ],
53 [ 'ul: splitMarginShorthand' ]
54 ];
55
42 if ( this.enterBr ) 56 if ( this.enterBr )
43 this.allowedContent.div = true; 57 this.allowedContent.div = true;
44 58