refactor editor
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import view from "./index.vue";
|
||||
import { Toolkit } from "timi-web";
|
||||
import type { Article } from "timi-web/editor";
|
||||
|
||||
export type ArticleEditorExpose = {
|
||||
submit: () => Promise<Article>;
|
||||
getPendingMediaCount: () => number;
|
||||
};
|
||||
|
||||
export const ArticleEditor = Toolkit.withInstall(view);
|
||||
export default ArticleEditor;
|
||||
Reference in New Issue
Block a user