PHP Classes

File: public/js/tinymce/src/plugins/paste/src/test/js/module/test/Paste.js

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

Contents

Class file image Download
define( 'tinymce.plugins.paste.test.Paste', [ 'ephox.agar.api.Step', 'tinymce.plugins.paste.test.MockDataTransfer' ], function (Step, MockDataTransfer) { var sPaste = function (editor, data) { return Step.sync(function () { var dataTransfer = MockDataTransfer.create(data); editor.fire('paste', { clipboardData: dataTransfer }); }); }; return { sPaste: sPaste }; } );