PHP Classes

File: public/js/tinymce/src/plugins/print/src/test/js/browser/PrintSanityTest.js

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

Contents

Class file image Download
asynctest( 'browser.tinymce.plugins.print.PrintSanityTest', [ 'ephox.agar.api.Pipeline', 'ephox.mcagar.api.TinyLoader', 'ephox.mcagar.api.TinyUi', 'tinymce.plugins.print.Plugin', 'tinymce.themes.modern.Theme' ], function (Pipeline, TinyLoader, TinyUi, PrintPlugin, ModernTheme) { var success = arguments[arguments.length - 2]; var failure = arguments[arguments.length - 1]; ModernTheme(); PrintPlugin(); TinyLoader.setup(function (editor, onSuccess, onFailure) { var tinyUi = TinyUi(editor); Pipeline.async({}, [ tinyUi.sWaitForUi('check print button exists', 'div[aria-label="Print"] > button') ], onSuccess, onFailure); }, { plugins: 'print', toolbar: 'print', skin_url: '/project/src/skins/lightgray/dist/lightgray' }, success, failure); } );