import { Keys } from '@ephox/agar'; import { describe, it } from '@ephox/bedrock-client'; import { TinyAssertions, TinyContentActions, TinyHooks, TinySelections } from '@ephox/wrap-mcagar'; import Editor from 'tinymce/core/api/Editor'; describe('browser.tinymce.core.keyboard.TableTabNavigationDisabledTest', () => { const hook = TinyHooks.bddSetupLight({ table_tab_navigation: false, base_url: '/project/tinymce/js/tinymce' }, [], true); const tableHtml = '
a
a
'; it('TBA: test table tab navigation does nothing', () => { const editor = hook.editor(); editor.setContent(tableHtml); TinySelections.setCursor(editor, [ 0, 0, 0, 0 ], 0); TinyContentActions.keystroke(editor, Keys.tab()); TinyAssertions.assertCursor(editor, [ 0, 0, 0, 0 ], 0); }); });