Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kissy5 editor 不能粘贴excel表格 #737

Open
tianzhiqing opened this issue Jan 25, 2016 · 1 comment
Open

kissy5 editor 不能粘贴excel表格 #737

tianzhiqing opened this issue Jan 25, 2016 · 1 comment

Comments

@tianzhiqing
Copy link

kissy5 editor 不能粘贴excel表格 ,有办法解决吗

看了一下源码,
if (/(class="?Mso|style="[^"]*\bmso-|w:WordDocument)/.test(html)) {
require('editor/plugin/word-filter', function (wordFilter) {
editor.insertHtml(wordFilter.toDataFormat(html, editor));
});
} else {
editor.insertHtml(html);
}

是 require('editor/plugin/word-filter' 这个模块没找到,导致editor.insertHtml(wordFilter.toDataFormat(html, editor));没有执行,有什么好办法解决么?copy源码的话,是不是要把所有plugin 代码copy过去才可以呀?如果只copy editor.js 会导致所有工具条都出不来……

@boxizen
Copy link

boxizen commented Jan 25, 2016

kissy已不再维护...呵呵

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants