Parcourir la source

Rename normalizer to normalizers namespace.

Mateusz Samsel il y a 6 ans
Parent
commit
721e256f8f

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

@@ -4,7 +4,7 @@
  */
 
 /**
- * @module paste-from-office/normalizer/googledocsnormalizer
+ * @module paste-from-office/normalizers/googledocsnormalizer
  */
 
 import removeBoldWrapper from '../filters/removeboldwrapper';

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

@@ -4,7 +4,7 @@
  */
 
 /**
- * @module paste-from-office/normalizer/mswordnormalizer
+ * @module paste-from-office/normalizers/mswordnormalizer
  */
 
 import { parseHtml } from '../filters/parse';

+ 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/googledocsnormalizer';
-import MSWordNormalizer from './normalizer/mswordnormalizer';
+import GoogleDocsNormalizer from './normalizers/googledocsnormalizer';
+import MSWordNormalizer from './normalizers/mswordnormalizer';
 import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
 
 /**

+ 1 - 1
packages/ckeditor5-paste-from-office/tests/normalizer/googledocsnormalizer.js

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

+ 1 - 1
packages/ckeditor5-paste-from-office/tests/normalizer/mswordnormalizer.js

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