8
0

normalization.js 888 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /**
  2. * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
  6. import PasteFromOffice from '../../src/pastefromoffice';
  7. import { generateTests } from '../_utils/utils';
  8. const browsers = [ 'chrome', 'firefox', 'safari', 'edge' ];
  9. const editorConfig = {
  10. plugins: [ Clipboard, PasteFromOffice ]
  11. };
  12. generateTests( {
  13. input: 'basic-styles',
  14. type: 'normalization',
  15. browsers,
  16. editorConfig
  17. } );
  18. generateTests( {
  19. input: 'image',
  20. type: 'normalization',
  21. browsers,
  22. editorConfig
  23. } );
  24. generateTests( {
  25. input: 'link',
  26. type: 'normalization',
  27. browsers,
  28. editorConfig
  29. } );
  30. generateTests( {
  31. input: 'list',
  32. type: 'normalization',
  33. browsers,
  34. editorConfig
  35. } );
  36. generateTests( {
  37. input: 'spacing',
  38. type: 'normalization',
  39. browsers,
  40. editorConfig
  41. } );