使用Tinymce富文本框出现This domain is not registered with Tiny Cloud. Please see the quick start guide create an account.警告如何消除?
- 注册Tinymce账号
- 登录并复制apiKey
- 代码中添加apiKey
<div>
<Editor api-key="这里添加复制的apiKey" :init="init">
</Editor>
</div>
效果
init代码分享
init: {
language: "zh_CN",
height: 430,
plugins: "link lists image code table colorpicker textcolor wordcount contextmenu nonbreaking",
toolbar: "bold italic underline |formatselect| fontsizeselect | forecolor backcolor |table| alignleft aligncenter alignright alignjustify|bullist numlist |outdent indent blockquote | undo redo | link unlink image code | removeformat",
branding: false,
nonbreaking_force_tab: true,// 开启tab键
},