|
|
@@ -16,11 +16,18 @@ import {
|
|
|
downcastTableHeadingRowsChange
|
|
|
} from '../../src/converters/downcast';
|
|
|
import { formatTable, formattedViewTable, modelTable } from '../_utils/utils';
|
|
|
+import env from '@ckeditor/ckeditor5-utils/src/env';
|
|
|
+import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
|
|
|
+
|
|
|
+testUtils.createSinonSandbox();
|
|
|
|
|
|
describe( 'downcast converters', () => {
|
|
|
let editor, model, doc, root, viewDocument;
|
|
|
|
|
|
beforeEach( () => {
|
|
|
+ // Most tests assume non-edge environment but we do not set `contenteditable=false` on Edge so stub `env.isEdge`.
|
|
|
+ sinon.stub( env, 'isEdge' ).get( () => false );
|
|
|
+
|
|
|
return VirtualTestEditor.create()
|
|
|
.then( newEditor => {
|
|
|
editor = newEditor;
|