From 7cb221c57bd46dbfcf75151c1fd1c9753515fbf7 Mon Sep 17 00:00:00 2001 From: ajaxzheng <894103554@qq.com> Date: Mon, 2 Dec 2024 16:47:07 +0800 Subject: [PATCH] fix: remove mathlive demo to fixed site build error --- .../options-formula-composition-api.vue | 36 ----------------- .../pc/app/fluent-editor/options-formula.vue | 40 ------------------- .../app/fluent-editor/webdoc/fluent-editor.js | 12 ------ examples/sites/package.json | 1 - 4 files changed, 89 deletions(-) delete mode 100644 examples/sites/demos/pc/app/fluent-editor/options-formula-composition-api.vue delete mode 100644 examples/sites/demos/pc/app/fluent-editor/options-formula.vue diff --git a/examples/sites/demos/pc/app/fluent-editor/options-formula-composition-api.vue b/examples/sites/demos/pc/app/fluent-editor/options-formula-composition-api.vue deleted file mode 100644 index 97c5800409..0000000000 --- a/examples/sites/demos/pc/app/fluent-editor/options-formula-composition-api.vue +++ /dev/null @@ -1,36 +0,0 @@ - - - diff --git a/examples/sites/demos/pc/app/fluent-editor/options-formula.vue b/examples/sites/demos/pc/app/fluent-editor/options-formula.vue deleted file mode 100644 index e266eaf24f..0000000000 --- a/examples/sites/demos/pc/app/fluent-editor/options-formula.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - diff --git a/examples/sites/demos/pc/app/fluent-editor/webdoc/fluent-editor.js b/examples/sites/demos/pc/app/fluent-editor/webdoc/fluent-editor.js index e1a27949d6..47aaa425ff 100644 --- a/examples/sites/demos/pc/app/fluent-editor/webdoc/fluent-editor.js +++ b/examples/sites/demos/pc/app/fluent-editor/webdoc/fluent-editor.js @@ -51,18 +51,6 @@ export default { }, codeFiles: ['options.vue'] }, - { - demoId: 'formula', - name: { - 'zh-CN': '可编辑公式', - 'en-US': 'Formula' - }, - desc: { - 'zh-CN': '通过设置 options 中的 mathlive 为 true 开启可编辑公式功能。', - 'en-US': '' - }, - codeFiles: ['options-formula.vue'] - }, { demoId: 'data-switch', name: { diff --git a/examples/sites/package.json b/examples/sites/package.json index d7df6bd918..1334f3ecbc 100644 --- a/examples/sites/package.json +++ b/examples/sites/package.json @@ -41,7 +41,6 @@ "github-markdown-css": "~5.1.0", "highlight.js": "^11.5.1", "marked": "^4.3.0", - "mathlive": "^0.101.1", "prismjs": "^1.28.0", "sortablejs": "1.15.0", "tailwindcss": "^3.2.4",