TinyMCE:启用单个按钮
我可以添加单独的按钮吗?
我想给用户控制权,但不是太多的控制权,所以我需要启用一些按钮但禁用其他按钮。
这可以做到吗?
Can I add individual buttons?
I would like to give the user control, but not too much control so I need to enable some buttons but disable others.
Can this be done?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我现在已经想通了。
你必须使用一个主题。我使用了预定义的主题,并在 init 函数中执行了此操作:
将文本区域命名为 elm1,然后就可以开始了
I have figured this out now.
You have to use a theme. I used a pre-defined theme and I did this in the init function:
You name your textarea elm1 and then your good to go