Files
timi-web/src/editor/index.ts
T
2026-08-25 17:35:19 +08:00

16 lines
730 B
TypeScript

/** 编辑器公共能力出口。平台组件只依赖这里的无界面逻辑和类型。 */
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";