Selaa lähdekoodia

Correct import statements.

Mateusz Samsel 6 vuotta sitten
vanhempi
commit
9f2546d0c6

+ 1 - 1
packages/ckeditor5-paste-from-office/src/normalizer.jsdoc

@@ -11,7 +11,7 @@
  * Normalizer interface is a description of a mechanism which transforms input data send through
  * an {@link module:clipboard/clipboard~Clipboard#event:inputTransformation inputTransformation event}. Input data is transformed
  * for paste event came from office-like applications, for example, MS Word, Google Docs, etc. These applications generate content,
- * which frequently has an invalid HTML syntax. Normalizers detects environment-specific quirks and transform it into proper HTML syntax,
+ * which frequently has an invalid HTML syntax. Normalizers detect environment-specific quirks and transform it into proper HTML syntax,
  * what later might be correctly upcast to the {@link module:engine/model/model~Model}.
  *
  * Normalizers are registered by {@link module:paste-from-office/pastefromoffice~PasteFromOffice} plugin. Each instance has the

+ 2 - 2
packages/ckeditor5-paste-from-office/src/pastefromoffice.js

@@ -9,8 +9,8 @@
 
 import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
 
-import GoogleDocsNormalizer from './normalizer/googledocs';
-import MSWordNormalizer from './normalizer/msword';
+import GoogleDocsNormalizer from './normalizer/googledocsnormalizer';
+import MSWordNormalizer from './normalizer/mswordnormalizer';
 import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
 
 /**

+ 2 - 2
packages/ckeditor5-paste-from-office/tests/normalizer/googledocs.js

@@ -3,10 +3,10 @@
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  */
 
-import GoogleDocsNormalizer from '../../src/normalizer/googledocs';
+import GoogleDocsNormalizer from '../../src/normalizer/googledocsnormalizer';
 
 // exec() of the google docs normalizer is tested with autogenerated normalization tests.
-describe( 'PasteFromOffice/normalizers/googledocs', () => {
+describe( 'PasteFromOffice/normalizer/googledocsnormalizer', () => {
 	const normalizer = new GoogleDocsNormalizer();
 
 	describe( 'isActive()', () => {

+ 2 - 2
packages/ckeditor5-paste-from-office/tests/normalizer/msword.js

@@ -3,10 +3,10 @@
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  */
 
-import MSWordNormalizer from '../../src/normalizer/msword';
+import MSWordNormalizer from '../../src/normalizer/mswordnormalizer';
 
 // `exec()` of the msword normalizer is tested with autogenerated normalization tests.
-describe( 'PasteFromOffice/normalizers/msword', () => {
+describe( 'PasteFromOffice/normalizer/mswornormalizer', () => {
 	const normalizer = new MSWordNormalizer();
 
 	describe( 'isActive()', () => {