如何将Tiny MICE Editor添加到drupal表单文本区域
我已经在管理端创建了一种表单以及文本区域。我需要将 Tiny MICE 编辑器应用到我的表单文本区域。我的 drupal 应用程序中已经有 Tiny MICE。请任何人向我建议,如何将 TinyMICE 应用于文本区域
i have creadted in admin side one form along with text area.I need to apply Tiny MICE Editor to my form text area. I have alreday Tiny MICE in my drupal application.Please any body suggest to me,how to apply TinyMICE to text area
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
转到 http://drupal.org/project/wysiwyg
安装它,还有有关 Tiny 的进一步说明MICE
http://drupal.org/node/371459
干杯,
维沙尔
go to http://drupal.org/project/wysiwyg
install it and there are further instructions for the Tiny MICE
at http://drupal.org/node/371459
Cheers,
Vishal
首先,您需要下载并安装 WYSIWYG 模块
http://drupal.org/project/wysiwyg
然后下载 TinyMCE 并将其安装到sites/all/libraries/tinymce/
完成此操作后,进入您的配置页面并单击所见即所得配置文件。选择 TinyMCE 作为您想要使用的输入格式并保存。
然后,您可以单击“编辑”来配置 TinyMCE,使其按照您想要的方式和位置工作。
First off you need to download and install the WYSIWYG module
http://drupal.org/project/wysiwyg
Then download TinyMCE and install it to sites/all/libraries/tinymce/
Once you've done this go into your config page and click on WYSIWYG profiles. Select TinyMCE for the input format you want to use it with and save.
Then you can click edit to configure TinyMCE to work how and where you want.
如果您使用 Form API 在 Drupal 6 中构建模块,则应在 module_admin 函数中将文本区域格式设置为 Full HTML:
In case you're building a module in Drupal 6 using Form API, you should set the textarea format to Full HTML in yourmodule_admin function: