Skip to content

Commit

Permalink
chore: 移除多余配置
Browse files Browse the repository at this point in the history
  • Loading branch information
RSS1102 committed Oct 31, 2024
1 parent 05fb2e4 commit faca19d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Cherry.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,6 @@ const defaultConfig = {
*/
// theme: 'dark', // light or dark
showToolbar: true, // false:不展示顶部工具栏; true:展示工具栏; toolbars.showToolbar=false 与 toolbars.toolbar=false 等效
subMenuHighlight: true, // 是否高亮子菜单
toolbar: [
'bold',
'italic',
Expand Down
2 changes: 0 additions & 2 deletions types/cherry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -599,8 +599,6 @@ export interface CherryToolbarsOptions<F extends CherryToolbarsCustomType = Cher
hiddenToolbar?: any[];
/** 是否展示顶部工具栏 */
showToolbar?: boolean;
/** 是否高亮子菜单 */
subMenuHighlight: boolean;
/** 侧边栏配置 */
sidebar?: any[] | false;
/** 选中悬停菜单配置 */
Expand Down

0 comments on commit faca19d

Please sign in to comment.