@@ -31,31 +31,30 @@ const TinyEditorSidebar = [
3131 } ,
3232 {
3333 text : '使用示例' ,
34- base : '/tiny-editor/demo/' ,
3534 items : [
36- { text : '基本用法' , link : 'basic-usage' } ,
37- { text : '内容初始化' , link : 'set-content' } ,
38- { text : '获取内容' , link : 'get-content' } ,
39- { text : '自定义工具栏' , link : 'custom-toolbar' } ,
40- { text : '增加工具栏' , link : 'add-toolbar-item' } ,
41- { text : '文件上传' , link : 'file-upload' } ,
42- { text : '代码块高亮' , link : 'code-block-highlight' } ,
43- { text : '表格' , link : 'table-up' } ,
44- { text : '@提醒' , link : 'mention' } ,
45- { text : '快捷菜单' , link : 'shortcut-key' } ,
46- { text : '插入表情' , link : 'emoji' } ,
47- { text : '格式刷' , link : 'format-painter' } ,
48- { text : '公式' , link : 'formula' } ,
49- { text : 'Markdown' , link : 'markdown' } ,
50- { text : '字符统计' , link : 'counter' } ,
51- { text : '截屏' , link : 'screenshot' } ,
52- { text : '国际化' , link : 'i18n' } ,
53- { text : '标题列表' , link : 'header-list' } ,
54- { text : '工具栏提示' , link : 'toolbar-tip' } ,
55- { text : '只读模式' , link : 'readonly' } ,
35+ { text : '基本用法' , link : '/tiny-editor/demo/ basic-usage' } ,
36+ { text : '内容初始化' , link : '/tiny-editor/demo/ set-content' } ,
37+ { text : '获取内容' , link : '/tiny-editor/demo/ get-content' } ,
38+ { text : '自定义工具栏' , link : '/tiny-editor/demo/ custom-toolbar' } ,
39+ { text : '增加工具栏' , link : '/tiny-editor/demo/ add-toolbar-item' } ,
40+ { text : '文件上传' , link : '/tiny-editor/demo/ file-upload' } ,
41+ { text : '代码块高亮' , link : '/tiny-editor/demo/ code-block-highlight' } ,
42+ { text : '表格' , link : '/tiny-editor/demo/ table-up' } ,
43+ { text : '@提醒' , link : '/tiny-editor/demo/ mention' } ,
44+ { text : '快捷菜单' , link : '/tiny-editor/demo/ shortcut-key' } ,
45+ { text : '插入表情' , link : '/tiny-editor/demo/ emoji' } ,
46+ { text : '格式刷' , link : '/tiny-editor/demo/ format-painter' } ,
47+ { text : '公式' , link : '/tiny-editor/demo/ formula' } ,
48+ { text : 'Markdown' , link : '/tiny-editor/demo/ markdown' } ,
49+ { text : '字符统计' , link : '/tiny-editor/demo/ counter' } ,
50+ { text : '截屏' , link : '/tiny-editor/demo/ screenshot' } ,
51+ { text : '国际化' , link : '/tiny-editor/demo/ i18n' } ,
52+ { text : '标题列表' , link : '/tiny-editor/demo/ header-list' } ,
53+ { text : '工具栏提示' , link : '/tiny-editor/demo/ toolbar-tip' } ,
54+ { text : '只读模式' , link : '/tiny-editor/demo/ readonly' } ,
5655 { text : '模拟语雀文档' , link : 'https://opentiny.github.io/tiny-editor/projects' } ,
57- { text : '图片工具栏' , link : 'image-tool' } ,
58- { text : '协同编辑' , link : 'collaborative-editing' }
56+ { text : '图片工具栏' , link : '/tiny-editor/demo/ image-tool' } ,
57+ { text : '协同编辑' , link : '/tiny-editor/demo/ collaborative-editing' }
5958 ]
6059 } ,
6160 {
0 commit comments