【发布时间】:2016-12-09 12:05:30
【问题描述】:
我正在使用 tinymce 编辑器,并且有一个编辑菜单栏项,我想将其移至工具栏,我尝试将其添加到工具栏,但这显然不起作用:
tinymce.init({
selector: '#content',
paste_data_images: true,
menubar: 'edit',
statusbar: false,
height: 500,
theme: 'modern',
plugins: [
'advlist autolink lists link image charmap print preview hr anchor pagebreak',
'searchreplace wordcount visualblocks visualchars code fullscreen',
'insertdatetime media nonbreaking save table contextmenu directionality',
'emoticons template paste textcolor colorpicker textpattern imagetools'
],
toolbar1: 'bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link | paste',
【问题讨论】: