PHP Classes

File: public/js/tinymce/src/core/src/test/js/browser/EditorForcedSettingsTest.js

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

Contents

Class file image Download
asynctest( 'browser.tinymce.core.EditorForcedSettingsTest', [ 'ephox.agar.api.Assertions', 'ephox.agar.api.Pipeline', 'ephox.mcagar.api.TinyLoader', 'tinymce.themes.modern.Theme' ], function (Assertions, Pipeline, TinyLoader, Theme) { var success = arguments[arguments.length - 2]; var failure = arguments[arguments.length - 1]; Theme(); TinyLoader.setup(function (editor, onSuccess, onFailure) { Pipeline.async({}, [ Assertions.sAssertEq('Validate should always be true', true, editor.settings.validate), Assertions.sAssertEq('Validate should true since inline was set to true', true, editor.settings.content_editable) ], onSuccess, onFailure); }, { skin_url: '/project/src/skins/lightgray/dist/lightgray', // Setting exposed as another forced setting inline: true, // Settings that are to be forced validate: false }, success, failure); } );