使用 Symfony 1.4 的多个 TinyMCE 实例
我正在尝试在一页中设置多个表单。每个都有带有 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来你需要给每个文本区域一个不同的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.