有没有办法保留从 Word 粘贴到 Flex 文本区域的文本格式?
我一直在尝试 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为 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