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
}
这是我的脚本:
<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>
我的客户只显示粗体和斜体,我该如何解决?
最佳答案
确保你也有对应的 css。像 plugins/image.min.css
这是 list
关于javascript - froala 没有显示一些工具栏按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41746638/