Kir*_*nok 7 javascript froala angular
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)
我的客户只显示粗体和斜体,我该如何解决?
| 归档时间: |
|
| 查看次数: |
3521 次 |
| 最近记录: |