aboutsummaryrefslogtreecommitdiff
path: root/sources/plugins/indentblock/plugin.js
diff options
context:
space:
mode:
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