| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- /**
- * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
- */
- import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
- import PasteFromOffice from '../../src/pastefromoffice';
- import { generateTests } from '../_utils/utils';
- const browsers = [ 'chrome', 'firefox', 'safari', 'edge' ];
- const editorConfig = {
- plugins: [ Clipboard, PasteFromOffice ]
- };
- describe( 'PasteFromOffice - normalization', () => {
- generateTests( {
- input: 'basic-styles',
- type: 'normalization',
- browsers,
- editorConfig
- } );
- generateTests( {
- input: 'image',
- type: 'normalization',
- browsers,
- editorConfig
- } );
- generateTests( {
- input: 'link',
- type: 'normalization',
- browsers,
- editorConfig
- } );
- generateTests( {
- input: 'list',
- type: 'normalization',
- browsers,
- editorConfig
- } );
- generateTests( {
- input: 'spacing',
- type: 'normalization',
- browsers,
- editorConfig
- } );
- generateTests( {
- input: 'google-docs-bold-wrapper',
- type: 'normalization',
- browsers,
- editorConfig
- } );
- generateTests( {
- input: 'generic-list-in-table',
- type: 'normalization',
- browsers,
- editorConfig
- } );
- } );
|