8
0

normalization.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /**
  2. * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
  6. import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph';
  7. import PasteFromOffice from '../../src/pastefromoffice';
  8. import { generateTests } from '../_utils/utils';
  9. const browsers = [ 'chrome', 'firefox', 'safari', 'edge' ];
  10. const editorConfig = {
  11. plugins: [ Clipboard, PasteFromOffice, Paragraph ]
  12. };
  13. describe.only( 'PasteFromOffice - normalization', () => {
  14. // generateTests( {
  15. // input: 'basic-styles',
  16. // type: 'normalization',
  17. // browsers,
  18. // editorConfig
  19. // } );
  20. //
  21. // generateTests( {
  22. // input: 'image',
  23. // type: 'normalization',
  24. // browsers,
  25. // editorConfig
  26. // } );
  27. //
  28. // generateTests( {
  29. // input: 'link',
  30. // type: 'normalization',
  31. // browsers,
  32. // editorConfig
  33. // } );
  34. generateTests( {
  35. input: 'list',
  36. type: 'normalization',
  37. browsers,
  38. editorConfig
  39. } );
  40. // generateTests( {
  41. // input: 'spacing',
  42. // type: 'normalization',
  43. // browsers,
  44. // editorConfig
  45. // } );
  46. //
  47. // generateTests( {
  48. // input: 'google-docs-bold-wrapper',
  49. // type: 'normalization',
  50. // browsers,
  51. // editorConfig
  52. // } );
  53. //
  54. // generateTests( {
  55. // input: 'generic-list-in-table',
  56. // type: 'normalization',
  57. // browsers,
  58. // editorConfig
  59. // } );
  60. } );