CKEditor 3.1 - getClipboardData [英] CKEditor 3.1 - getClipboardData

查看:88
本文介绍了CKEditor 3.1 - getClipboardData的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有得到html剪贴板数据做在插件clipboard.js中的getClipboardData()?

Is there anyway to get the html clipboard data as done in getClipboardData() in plugin clipboard.js? Can anyone pls give me some guidelines to do that?

在以前的版本中,我可以通过调用CKEDITOR.getClipboardData()获取数据,但是CKEditor 3.1中不再提供。

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

非常感谢,

Kristin

推荐答案

我不知道为什么函数被从CKEditor的核心删除,但是粘贴从剪贴板功能继续存在于 pasteText插件

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.

这篇关于CKEditor 3.1 - getClipboardData的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆