TinyMCE 隐藏栏 [英] TinyMCE Hide the bar

查看:55
本文介绍了TinyMCE 隐藏栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 tinymce 并且我想隐藏按钮工具栏.有没有办法做到这一点?

I use tinymce and i want to hide the button toolbar. Is there a way to do that?

推荐答案

使用 tinyMCE 4,您可以在 tinymce init 中设置以下内容:

Using tinyMCE 4 you can set the following in the tinymce init:

toolbar: false

如果您想要一个没有选项的干净编辑器,这里有一个完整的 init 示例:

Here is a full blown example of the init if you want a clean editor with no options:

<script type="text/javascript">
    tinymce.init({
        menubar: false,
        statusbar: false,
        toolbar: false
    });
</script>

这篇关于TinyMCE 隐藏栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆