Ticket #6654: 6654_2.patch
File 6654_2.patch, 1.2 KB (added by , 13 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
1066 1066 editor.on( 'insertElement', onInsert( doInsertElement ), null, null, 20 ); 1067 1067 editor.on( 'insertText', onInsert( doInsertText ), null, null, 20 ); 1068 1068 // Auto fixing on some document structure weakness to enhance usabilities. (#3190 and #3189) 1069 editor.on( 'selectionChange', onSelectionChangeFixBody, null, null, 1 ); 1069 if ( editor.config.autoParagraph !== false ) 1070 editor.on( 'selectionChange', onSelectionChangeFixBody, null, null, 1 ); 1070 1071 }); 1071 1072 1072 1073 var titleBackup; … … 1248 1249 */ 1249 1250 1250 1251 /** 1252 * Whether the editor automatically create wrapping paragraphs 1253 * around "paragraph-less" content inside the document. 1254 * <strong>Note:</strong> Changing the default value might introduce usability issue that are not able to predict. 1255 * @since 3.6 1256 * @type Boolean 1257 * @default true 1258 * @example 1259 * config.autoParagraph = false; 1260 */ 1261 1262 /** 1251 1263 * Fired when some elements are added to the document 1252 1264 * @name CKEDITOR.editor#ariaWidget 1253 1265 * @event