From 6ca8f3f6ed7ddf5e461d8a35311b22034b46e56d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotrek=20Reinmar=20Koszuli=C5=84ski?= Date: Wed, 20 Aug 2014 17:56:33 +0200 Subject: [PATCH] Marked config.autoParagraph as deprecated. --- CHANGES.md | 4 ++++ plugins/wysiwygarea/plugin.js | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index d98e803bd81..0ae3cb69763 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,10 @@ CKEditor 4 Changelog ## CKEditor 4.4.5 +Fixed Issues: + +* [#12315](http://dev.ckeditor.com/ticket/12315): Fixed: Marked [`config.autoParagraph`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-autoParagraph) as deprecated. + ## CKEditor 4.4.4 Fixed Issues: diff --git a/plugins/wysiwygarea/plugin.js b/plugins/wysiwygarea/plugin.js index 55d3282dd8e..f67eaf11f99 100644 --- a/plugins/wysiwygarea/plugin.js +++ b/plugins/wysiwygarea/plugin.js @@ -719,10 +719,12 @@ CKEDITOR.config.contentsCss = CKEDITOR.getUrl( 'contents.css' ); * Whether to automatically create wrapping blocks around inline content inside the document body. * This helps to ensure the integrity of the block *Enter* mode. * - * **Note:** Changing the default value might introduce unpredictable usability issues. + * **Note:** This option is deprecated. Changing the default value might introduce unpredictable usability issues and is + * highly unrecommended. * * config.autoParagraph = false; * + * @deprecated * @since 3.6 * @cfg {Boolean} [autoParagraph=true] * @member CKEDITOR.config