将 Word 2007 文档复制粘贴到 HTML WYSIWYG 编辑器

发布于 2024-08-25 06:53:37 字数 190 浏览 6 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

狼性发作 2024-09-01 06:53:37

TinyMCE 粘贴插件 这样的东西可以工作吗?

Would something like the TinyMCE paste plugin work?

暮光沉寂 2024-09-01 06:53:37

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).

溺孤伤于心 2024-09-01 06:53:37

我一直建议客户先将其内容粘贴到记事本中,然后再将其复制到 TinyMCE 等工具中。

I have always advised clients to paste their content into notepad first before copying it over into something like TinyMCE.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文