Przeglądaj źródła

Other: Renamed the ClassicEditor file to "classiceditor.js" to match the naming convention. Closes #41.

BREAKING CHANGE: The `classic.js` file containing `ClassicEditor` class has been renamed to `classiceditor.js`.
Szymon Kupś 8 lat temu
rodzic
commit
1dde01efee

+ 3 - 3
packages/ckeditor5-editor-classic/src/classic.js → packages/ckeditor5-editor-classic/src/classiceditor.js

@@ -4,7 +4,7 @@
  */
 
 /**
- * @module editor-classic/classic
+ * @module editor-classic/classiceditor
  */
 
 import StandardEditor from '@ckeditor/ckeditor5-core/src/editor/standardeditor';
@@ -74,8 +74,8 @@ export default class ClassicEditor extends StandardEditor {
 	 *			console.error( err.stack );
 	 *		} );
 	 *
-	 * @param {HTMLElement} element See {@link module:editor-classic/classic~ClassicEditor#constructor}'s parameters.
-	 * @param {Object} config See {@link module:editor-classic/classic~ClassicEditor#constructor}'s parameters.
+	 * @param {HTMLElement} element See {@link module:editor-classic/classiceditor~ClassicEditor#constructor}'s parameters.
+	 * @param {Object} config See {@link module:editor-classic/classiceditor~ClassicEditor#constructor}'s parameters.
 	 * @returns {Promise} A promise resolved once the editor is ready.
 	 * @returns {module:core/editor/standardeditor~StandardEditor} return.editor The editor instance.
 	 */

+ 1 - 1
packages/ckeditor5-editor-classic/tests/classic.js → packages/ckeditor5-editor-classic/tests/classiceditor.js

@@ -10,7 +10,7 @@ import ClassicEditorUIView from '../src/classiceditoruiview';
 
 import HtmlDataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor';
 
-import ClassicEditor from '../src/classic';
+import ClassicEditor from '../src/classiceditor';
 import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
 import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph';
 import Bold from '@ckeditor/ckeditor5-basic-styles/src/bold';

+ 1 - 1
packages/ckeditor5-editor-classic/tests/manual/classic.js

@@ -5,7 +5,7 @@
 
 /* globals console:false, document, window */
 
-import ClassicEditor from '../../src/classic';
+import ClassicEditor from '../../src/classiceditor';
 import Enter from '@ckeditor/ckeditor5-enter/src/enter';
 import Typing from '@ckeditor/ckeditor5-typing/src/typing';
 import Heading from '@ckeditor/ckeditor5-heading/src/heading';