jQuery RTF 编辑器

发布于 2024-09-02 21:08:38 字数 370 浏览 5 评论 0原文

我见过很多 RTF 编辑器,但我似乎找不到一个可以让我预加载 RTF 数据并正确显示它,然后将 RTF 数据返回给我。有谁知道有什么好的吗?

例如,如果我有这个:

<textarea id="rtf">
{\rtf1\ansi{\fonttbl\f0\fswiss Helvetica;}\f0\pard
This is some {\b bold} text.\par
}
</textarea>

我正在寻找一个 jQuery 插件,它将显示:

这是一些粗体文本。

在可编辑的文本区域中,然后向我返回他们以 RTF(而不是 HTML)所做的任何更改。

I have seen a lot of RTF editors out there, but I can't seem to find one that will let me preload RTF data and display it properly and then spit RTF data back out to me. Does anyone know of any good ones?

For example, if I had this:

<textarea id="rtf">
{\rtf1\ansi{\fonttbl\f0\fswiss Helvetica;}\f0\pard
This is some {\b bold} text.\par
}
</textarea>

I am looking for a jQuery plugin that will display:

This is some bold text.

In an editable textarea and then give me back whatever changes they made in RTF, NOT HTML.

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

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

发布评论

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

评论(1

极度宠爱 2024-09-09 21:08:38

CuteEditor.NET 似乎具有此功能,尽管:

  1. 它需要 ASP.NET 服务器端进程; 我的
  2. 快速测试确定生成的 RTF 文件的格式与 Web GUI 中显示的格式不匹配。
  3. 它不是 JQuery 插件。
  4. 这是商业性的。

CuteEditor.NET seems to have this ability, although:

  1. It requires an ASP.NET server-side process; and
  2. My quick test determined that the formatting of the resulting RTF file doesn't match that displayed in the web GUI.
  3. It's not a JQuery plugin.
  4. It's commercial.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文