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 0391d9d84e..38c5b0f6ed 100644
--- a/examples/sites/package.json
+++ b/examples/sites/package.json
@@ -41,6 +41,7 @@
"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",
diff --git a/packages/vue/src/fluent-editor/package.json b/packages/vue/src/fluent-editor/package.json
index be885dc1c6..7329594911 100644
--- a/packages/vue/src/fluent-editor/package.json
+++ b/packages/vue/src/fluent-editor/package.json
@@ -11,7 +11,7 @@
"//postversion": "pnpm build"
},
"dependencies": {
- "@opentiny/fluent-editor": "~3.20.0",
+ "@opentiny/fluent-editor": "~3.22.0",
"@opentiny/vue-common": "workspace:~",
"@opentiny/vue-icon": "workspace:~",
"@opentiny/vue-image-viewer": "workspace:~",