import { describe, it } from '@ephox/bedrock-client'; import { TinyAssertions, TinyHooks } from '@ephox/wrap-mcagar'; import Editor from 'tinymce/core/api/Editor'; describe('browser.tinymce.models.dom.table.EmptyRowTableTest', () => { const hook = TinyHooks.bddSetupLight({ base_url: '/project/tinymce/js/tinymce', }, []); it('TINY-4679: Empty tr elements should not be removed', () => { const editor = hook.editor(); editor.setContent(`
TR 1
TR 3
TR 4
`); TinyAssertions.assertContentPresence(editor, { tr: 4 }); }); });