Tiny MCE UI编辑器中的问题

时间:2016-09-28 06:20:02

标签: angularjs tinymce tinymce-4

我的代码上有这个编辑器:

<textarea ui-tinymce="vm.viewModel.editorOptions" ng-model="vm.model.EmailTemplate"></textarea> 

配置:

vm.viewModel.editorModel.editorOptions = {
           selector: 'textarea',
           height: 400,
           theme: 'modern',
           plugins: [
             'advlist autolink lists link image preview hr anchor',
             'textcolor colorpicker textpattern'
           ],
           toolbar1: "undo redo | fontselect fontsizeselect | bold italic underline strikethrough | forecolor backcolor",
           toolbar2: "alignleft aligncenter alignright alignjustify | bullist numlist | outdent indent blockquote | link unlink image | hr",
           image_advtab: true,
           menubar: false,
           statusbar: false,
       }

现在我的问题是UI没有正确显示添加图像按钮。见截图

enter image description here

我在这里缺少什么?我正在添加如下脚本:

"~/Scripts/tinymce/tinymce.js",
"~/Scripts/ui-tinymce.js" 

0 个答案:

没有答案