feat: add catalog demo

This commit is contained in:
Hufe921
2023-05-11 19:32:05 +08:00
parent 402e448559
commit 9343afe831
7 changed files with 175 additions and 7 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ export enum EditorComponent {
MAIN = 'main',
FOOTER = 'footer',
CONTEXTMENU = 'contextmenu',
POPUP = 'popup'
POPUP = 'popup',
CATALOG = 'catalog'
}
export enum EditorContext {
+4 -1
View File
@@ -42,6 +42,7 @@ import { ITitleOption } from './interface/Title'
import { defaultTitleOption } from './dataset/constant/Title'
import { TitleLevel } from './dataset/enum/Title'
import { ListStyle, ListType } from './dataset/enum/List'
import { ICatalog, ICatalogItem } from './interface/Catalog'
export default class Editor {
@@ -216,5 +217,7 @@ export type {
IWatermark,
INavigateInfo,
IBlock,
ILang
ILang,
ICatalog,
ICatalogItem
}