将 Word 2007 文档复制粘贴到 HTML WYSIWYG 编辑器
Microsoft Word 具有大量专有格式和样式,无法很好地转换为 html 所见即所得编辑器。当您将它们粘贴到 html 编辑器并尝试编辑粘贴的信息时,它会导致各种样式冲突。我希望能够保留一般结构,但忽略专有内容。本质上,我想让客户免于必须完全删除所有格式,迫使他们在所见即所得中再次重做所有样式的麻烦,但同时避免 Word 格式设置造成的冲突。有什么想法吗?
Microsoft word has a ton of proprietary formatting and styles that do not translate well to html WYSIWYG editors. When you paste them over to the html editor and try to edit the pasted info it causes all kinds of clashing styles. I want to be able to keep the general structure but leave out the proprietary stuff. Essentially I want to save clients the headache of having to completely strip out all formatting forcing them to redo all the styling again in the WYSIWYG, but at the same time avoid the conflicts that Word formatting creates. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
像 TinyMCE 粘贴插件 这样的东西可以工作吗?
Would something like the TinyMCE paste plugin work?
DevExpress html 编辑器有一个“从 Word 粘贴”选项,大部分情况下都有效。
http://demos.devexpress.com/ASPxHTMLEditorDemos/Dialogs/SpellChecking.aspx
请参阅工具栏上的“从 Word 粘贴”按钮。
他们还有文档导入功能(尚未尝试)。
The DevExpress html editor has a "paste from Word" option that mostly works.
http://demos.devexpress.com/ASPxHTMLEditorDemos/Dialogs/SpellChecking.aspx
See the "paste from Word" button on the toolbar.
They also have a document import (haven't tried it yet).
我一直建议客户先将其内容粘贴到记事本中,然后再将其复制到 TinyMCE 等工具中。
I have always advised clients to paste their content into notepad first before copying it over into something like TinyMCE.