refactor api
This commit is contained in:
@@ -1,15 +1,9 @@
|
||||
/** 编辑器公共能力出口。平台组件只依赖这里的无界面逻辑和类型。 */
|
||||
export * from "./article";
|
||||
export * from "./code";
|
||||
export * from "./notify";
|
||||
export * from "./search";
|
||||
export * from "./tiptap/shared";
|
||||
export * from "./tiptap/extensions";
|
||||
export * from "./tiptap/useTiptapEditor";
|
||||
export * from "./tiptap/useTiptapView";
|
||||
export type { Article, ArticleContentType } from "../types/Article";
|
||||
export type { Attachment } from "../types/Attachment";
|
||||
export type { NotifyDetail } from "../types/Notify";
|
||||
export { default as AttachmentAPI } from "../api/AttachmentAPI";
|
||||
export { default as PrismCodeBlock } from "./tiptap/PrismCodeBlock";
|
||||
export { enhancePrismCodeBlock } from "./tiptap/PrismCodeBlockView";
|
||||
|
||||
Reference in New Issue
Block a user