PHP Classes

File: public/js/tinymce/src/plugins/table/src/test/js/module/test/TableTestUtils.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   GoLavaCMS   public/js/tinymce/src/plugins/table/src/test/js/module/test/TableTestUtils.js   Download  
File: public/js/tinymce/src/plugins/table/src/test/js/module/test/TableTestUtils.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: 661 bytes
 

Contents

Class file image Download
define( 'tinymce.plugins.table.test.TableTestUtils', [ 'ephox.agar.api.Chain', 'ephox.agar.api.Cursors', 'ephox.agar.api.Mouse', 'ephox.agar.api.UiFinder', 'ephox.mcagar.api.TinyDom' ], function (Chain, Cursors, Mouse, UiFinder, TinyDom) { var sOpenToolbarOn = function (editor, selector, path) { return Chain.asStep(TinyDom.fromDom(editor.getBody()), [ UiFinder.cFindIn(selector), Cursors.cFollow(path), Chain.op(function (target) { editor.selection.select(target.dom()); }), Mouse.cClick ]); }; return { sOpenToolbarOn: sOpenToolbarOn }; } );