开发者

CKEditor 3.1 - getClipboardData

Is there anyway to get the html clipboard data as done in getClipboardData() in plugin clip开发者_StackOverflow中文版board.js? Can anyone pls give me some guidelines to do that?

In previous version I can get data simply by calling CKEDITOR.getClipboardData() but this is no longer available in CKEditor 3.1.

Many thanks,

Kristin


I don't know why the function was removed from CKEditor's core, but the "paste from clipboard" functionality continues to exist in the pasteText plugin.

It should be possible to execute the plugin's function directly programmatically, but I don't know how this is done yet.

As a last resort, you could copy the code that does the pasting.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜