浏览代码

PublishRichText.vue 中删除 mathjax

reghao 7 月之前
父节点
当前提交
424362231c
共有 1 个文件被更改,包括 1 次插入7 次删除
  1. 1 7
      src/components/upload/PublishRichText.vue

+ 1 - 7
src/components/upload/PublishRichText.vue

@@ -40,14 +40,8 @@ export default {
         language: 'zh_CN',
         skin_url: '/tinymce/skins/ui/oxide',
         height: 600,
-        external_plugins: {
-          'mathjax': '/tinymce/mathjax/plugin.min.js'
-        },
-        mathjax: {
-          lib: '/tinymce/mathjax/tex-mml-chtml.js'
-        },
         plugins: 'image code',
-        toolbar: 'mathjax bold italic underline strikethrough | fontsizeselect | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist | outdent indent blockquote | undo redo | image code | removeformat',
+        toolbar: 'bold italic underline strikethrough | fontsizeselect | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist | outdent indent blockquote | undo redo | image code | removeformat',
         branding: false,
         images_upload_handler: function(blobInfo, success, failure) {
           // base64转本地上传