feat: enhance ArticleEditorCanvas with new icons and table insertion functionality

This commit is contained in:
2026-04-05 21:23:52 +08:00
parent dbd7747742
commit 1401b50556
2 changed files with 34 additions and 7 deletions
+8
View File
@@ -1,3 +1,4 @@
import { createFromIconfontCN } from "@ant-design/icons-vue";
import { QueryClient, VueQueryPlugin } from "@tanstack/vue-query";
import { createApp } from "vue";
import {
@@ -65,6 +66,13 @@ const queryClient = new QueryClient({
});
const app = createApp(App);
const IconFont = createFromIconfontCN({
// 需要替换为你自己真实项目的 js 地址,才能显示出你的 '#icon-line-global_undo'。
scriptUrl: "//at.alicdn.com/t/c/font_5154382_bf9lssq7ar.js",
});
app.component("IconFont", IconFont);
app.component("ATextarea", Input.TextArea);
[