我正在使用Tiny Mce编辑器添加后端内容。我需要在内容中添加图像,但是我已经在插件列表中添加了图像插件,但它没有向我显示浏览选项,也没有显示内容中的图像,它显示空白图像,为什么它发生我不是能够理解。我是否需要文件管理器来上传图像?或者我如何实现这一目标?
tinyMCE.init
mode: "exact"
elements: elementId
height: 500
content_css : "/assets/admin/tinymce_title.css",
fontsize_formats: "12pt 14pt 18pt"
theme: "modern"
plugins: ["lists link image charmap preview hr pagebreak", "searchreplace wordcount visualblocks visualchars fullscreen", "insertdatetime nonbreaking save table contextmenu directionality", "paste textcolor colorpicker textpattern"]
image_advtab: true,
toolbar1: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | unlink link image"
toolbar2: "preview | forecolor backcolor"
这是我的小mce代码。我正在使用gem 'tinymce-rails', '4.1.6'