有没有办法保留从 Word 粘贴到 Flex 文本区域的文本格式?

发布于 2024-11-14 18:00:53 字数 273 浏览 2 评论 0原文

我一直在尝试 MXML- 和 Spark-textarea (和 richtexteditor),

我发现,当我从 MS Word 2007 复制一些格式化文本(如 Test tes1)并粘贴它们时在 Flash 文本区域内,格式消失了(我只收到纯文本)。

但是,当我对 Jwysiwyg(一个 jQuery WYSIWYG 文本编辑器)执行相同操作时,格式并没有消失。

有没有办法让 Flash 文本区域接收格式化文本而不破坏所述格式?

I've been experimenting with MXML- and spark-textarea (and richtexteditor)

I found that, when I copied some formatted texts like Test tes1 from MS Word 2007 and paste them inside the Flash textarea, the formatting is gone (I only receive the plain texts).

But when I do the same to the Jwysiwyg (a jQuery WYSIWYG text editor), the formatting doesn't disappear.

Is there a way to make Flash textareas receive formatted text without destroying said formatting?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

毅然前行 2024-11-21 18:00:57

我不认为 MS Word 使用 html 文本方法,所以你不能。
您可以继续使用 jwysiwyg 编辑器或此 AIR 应用程序:

http://www.adobe.com/cfusion/marketplace/index.cfm?event=marketplace.offering&marketplaceid=1&offeringid=10200

I don't think MS Word use a html text method, so you can't.
You may continue to use jwysiwyg editor, or this AIR app :

http://www.adobe.com/cfusion/marketplace/index.cfm?event=marketplace.offering&marketplaceid=1&offeringid=10200

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