[英]TinyMce not showing icons
I am using laravel with blade and Vue.js (the tinymce- wrapper @tinymce/tinymce-vue).我正在使用带有刀片的 laravel 和 Vue.js(tinymce-包装器@tinymce/tinymce-vue)。
Problem : TinyMce (version 5.7.0) is not showing icons after i switched from cloud to self hosted.问题:在我从云切换到自托管后,TinyMce(版本 5.7.0)没有显示图标。
<template>
<div id="app">
<editor
tinymce-script-src="/lib/tinymce/tinymce.min.js"
v-model="content"
api-key="no-api-key"
:init="{
height: 500,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount'
],
toolbar:
'undo redo | formatselect | bold italic backcolor | \
alignleft aligncenter alignright alignjustify | \
bullist numlist outdent indent | removeformat | help'
}"
/>
</div>
</template>
<script>
import Editor from '@tinymce/tinymce-vue'
export default {
name: 'app',
components: {
'editor': Editor
},
data:function(){
return{
content:'test'
}
}
}
</script>
Adding添加
import 'tinymce/icons/default'
does not help.没有帮助。 Any clues anyone?
任何线索任何人?
I downloaded tinymce version 5.3.0 and copied the icons folder from that version into my tinymce folder.我下载了 tinymce 版本 5.3.0 并将图标文件夹从该版本复制到我的 tinymce 文件夹中。 The icons get loaded now.
图标现在被加载。
I just wonder why they haven't been included in the version 5.7.0.我只是想知道为什么它们没有包含在版本 5.7.0 中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.