使用 Symfony 1.4 的多个 TinyMCE 实例

发布于 2024-12-28 14:12:13 字数 171 浏览 3 评论 0原文

我正在尝试在一页中设置多个表单。每个都有带有 TinyMCE 编辑器的文本区域(来自 isicsWidgetFormTinyMCEPlugin)。不幸的是,只有第一个文本区域用编辑器装饰。所有剩余的文本区域都是“裸露的”。

如何设置 isicsWidgetFormTinyMCEPlugin 以匹配我的所有输入?

I'm trying to set several forms in one page. Each has textarea with TinyMCE editor (from isicsWidgetFormTinyMCEPlugin). Unfortunately only the first textarea is decorated with the editor. All the remaining textareas are "bare".

How to set isicsWidgetFormTinyMCEPlugin to match all my inputs?

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

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

发布评论

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

评论(1

情丝乱 2025-01-04 14:12:13

看来你需要给每个文本区域一个不同的ID!
Tinymce 使用原始的 textarea id 来标识编辑器。如果为多个 textareas/html 元素指定了多个 id,则只有第一个 id 会被初始化。

Seems like you need to give each of your textareas a different id!
Tinymce uses the original textarea id to identify an editor. If more than one id is given to several textareas/html elments, only the first one gets initialized.

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