小编Kir*_*nok的帖子

froala 没有显示一些工具栏按钮

Froala 不想显示一些按钮(如:视频、图像、表格...),我现在不知道为什么。也许我只是忘记添加一些脚本?这是我的选择:

    public tb = [
        "bold", "italic" , "insertTable","insertImage"]; 
 public options: Object = { 
  placeholderText: 'Edit Your Content Here!',
  toolbarInline: false,
  toolbarButtons: this.tb,
        toolbarButtonsMD: this.tb,
        toolbarButtonsSM: this.tb,
        toolbarButtonsXS: this.tb
}
Run Code Online (Sandbox Code Playgroud)

这是我的脚本:

<script src="http://code.jquery.com/jquery-1.9.0.js"></script>
  <script src="http://code.jquery.com/jquery-migrate-1.2.1.js"></script>
  <script src="bower_components/froala-wysiwyg-editor/js/froala_editor.min.js"></script>
<script src="bower_components/froala-wysiwyg-editor/js/plugins/image.min.js"></script>
  <script src="bower_components/froala-wysiwyg-editor/js/plugins/image_manager.min.js"></script>
<script src="bower_components/froala-wysiwyg-editor/js/plugins/video.min.js"></script>
Run Code Online (Sandbox Code Playgroud)

我的客户只显示粗体和斜体,我该如何解决?

在此处输入图片说明

javascript froala angular

7
推荐指数
1
解决办法
3521
查看次数

标签 统计

angular ×1

froala ×1

javascript ×1