PHP Classes

File: public/js/tinymce/src/plugins/table/src/test/js/browser/settings/TableTabNavigationDisabledTest.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   GoLavaCMS   public/js/tinymce/src/plugins/table/src/test/js/browser/settings/TableTabNavigationDisabledTest.js   Download  
File: public/js/tinymce/src/plugins/table/src/test/js/browser/settings/TableTabNavigationDisabledTest.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: GoLavaCMS
Publish content on Web pages with SEO support
Author: By
Last change:
Date: 6 years ago
Size: 1,503 bytes
 

Contents

Class file image Download
asynctest( 'browser.tinymce.plugins.table.TableTablNavigationDisabledTest', [ 'ephox.agar.api.GeneralSteps', 'ephox.agar.api.Keys', 'ephox.agar.api.Logger', 'ephox.agar.api.Pipeline', 'ephox.mcagar.api.TinyActions', 'ephox.mcagar.api.TinyApis', 'ephox.mcagar.api.TinyLoader', 'tinymce.plugins.table.Plugin', 'tinymce.plugins.table.test.TableTestUtils', 'tinymce.themes.modern.Theme' ], function (GeneralSteps, Keys, Logger, Pipeline, TinyActions, TinyApis, TinyLoader, TablePlugin, TableTestUtils, ModernTheme) { var success = arguments[arguments.length - 2]; var failure = arguments[arguments.length - 1]; ModernTheme(); TablePlugin(); var tableHtml = '<table><tbody><tr><td>a</td></tr><tr><td>a</td></tr></tbody></table>'; TinyLoader.setup(function (editor, onSuccess, onFailure) { var tinyApis = TinyApis(editor); var tinyActions = TinyActions(editor); Pipeline.async({}, [ Logger.t('test table grid disabled', GeneralSteps.sequence([ tinyApis.sFocus, tinyApis.sSetContent(tableHtml), TableTestUtils.sOpenToolbarOn(editor, 'td', [0]), tinyActions.sContentKeystroke(Keys.tab(), {}), tinyApis.sAssertSelection([0, 0, 0, 0], 0, [0, 0, 0, 0], 1) ])) ], onSuccess, onFailure); }, { plugins: 'table', table_tab_navigation: false, skin_url: '/project/src/skins/lightgray/dist/lightgray' }, success, failure); } );