]> git.immae.eu Git - perso/Immae/Projets/packagist/piedsjaloux-ckeditor-component.git/blobdiff - sources/plugins/indentblock/plugin.js
Add oembed
[perso/Immae/Projets/packagist/piedsjaloux-ckeditor-component.git] / sources / plugins / indentblock / plugin.js
index 9d31b983e0292df07a69934f95c2fa8327ff285d..b39fd73defac986859651ad36d7aab6235127de6 100644 (file)
@@ -1,5 +1,5 @@
 /**\r
- * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.\r
+ * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.\r
  * For licensing, see LICENSE.md or http://ckeditor.com/license\r
  */\r
 \r
                                        }\r
                                };\r
 \r
+                               this.contentTransformations = [\r
+                                       [ 'div: splitMarginShorthand' ],\r
+                                       [ 'h1: splitMarginShorthand' ],\r
+                                       [ 'h2: splitMarginShorthand' ],\r
+                                       [ 'h3: splitMarginShorthand' ],\r
+                                       [ 'h4: splitMarginShorthand' ],\r
+                                       [ 'h5: splitMarginShorthand' ],\r
+                                       [ 'h6: splitMarginShorthand' ],\r
+                                       [ 'ol: splitMarginShorthand' ],\r
+                                       [ 'p: splitMarginShorthand' ],\r
+                                       [ 'pre: splitMarginShorthand' ],\r
+                                       [ 'ul: splitMarginShorthand' ]\r
+                               ];\r
+\r
                                if ( this.enterBr )\r
                                        this.allowedContent.div = true;\r
 \r