javascript - 如何禁用 Aloha Editor 工具栏?

标签 javascript jquery wysiwyg aloha-editor

有没有办法像侧边栏一样禁用 Aloha 的 ExtJS 工具栏?

Aloha.settings =
    modules: ['aloha', 'aloha/jquery']
    editables: '.editable'
    jQuery: $
    sidebar:
        disabled: true
    toolbar:
        disabled: true # does not work

enter image description here

最佳答案

您可以使用 css 隐藏它,例如:

div.aloha-toolbar {
    display: none !important;
}

关于javascript - 如何禁用 Aloha Editor 工具栏?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10608143/

相关文章:

javascript - 我可以强制 Chrome 或其他浏览器使用旧版本的 javascript 吗?

jquery - 在桌面滚动上淡入汉堡菜单

Jquery 在页面滚动上隐藏/显示 Logo

ajax - 如何在服务器端检测请求是ajax还是正常

TinyMCE 编写了糟糕的 HTML!

javascript - javascript 中正则表达式的歧义

javascript - 如何在剑道网格中过滤已经过滤的数据源

javascript - 将视频添加到 YouTube 上用户的 "Watch Later"播放列表

javascript - 如何删除 nicEdit 文本编辑器中的上传按钮

user-interface - 为什么现代 GUI 开发是使用代码而不是可视化编辑器完成的?