Ticket #6654: 6654.patch
File 6654.patch, 1.1 KB (added by , 13 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
962 962 editor.on( 'insertHtml', onInsertHtml, null, null, 20 ); 963 963 editor.on( 'insertElement', onInsertElement, null, null, 20 ); 964 964 // Auto fixing on some document structure weakness to enhance usabilities. (#3190 and #3189) 965 editor.on( 'selectionChange', onSelectionChangeFixBody, null, null, 1 ); 965 if ( !editor.config.disableAutoParagraphing ) 966 editor.on( 'selectionChange', onSelectionChangeFixBody, null, null, 1 ); 966 967 }); 967 968 968 969 var titleBackup; … … 1144 1145 * @name CKEDITOR.editor#dataReady 1145 1146 * @event 1146 1147 */ 1148 1149 /** 1150 * Whether the editor automatically create wrapping paragraphs 1151 * around "paragraph-less" content inside the document. 1152 * <strong>Note:</strong> Changing the default value might introduce usability issue that are not able to predict. 1153 * @type Boolean 1154 * @default false 1155 * @example 1156 * config.disableAutoParagraphing = true; 1157 */