Skip to content

Commit 60e16d4

Browse files
authored
fix(bundle): fixed active list element (#625)
1 parent 4e9d19f commit 60e16d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bundle/toolbar/utils/toolbarsConfigs.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ interface TransformedItem {
2929
icon?: ToolbarIconData;
3030
hotkey?: string;
3131
withArrow?: boolean;
32+
doNotActivateList?: boolean;
3233
preview?: React.ReactNode;
3334
wysiwyg?: ToolbarItemWysiwyg<ToolbarDataType>;
3435
markup?: ToolbarItemMarkup<ToolbarDataType>;
@@ -56,6 +57,7 @@ const transformItem = (
5657
hint: item.view.hint,
5758
icon: item.view.icon,
5859
hotkey: item.view.hotkey,
60+
doNotActivateList: item.view.doNotActivateList,
5961
...(isSingleButton && {preview: (item.view as any).preview}),
6062
...(isListButton && {withArrow: (item.view as any).withArrow}),
6163
...(type === 'wysiwyg' && item.wysiwyg && {...item.wysiwyg}),

0 commit comments

Comments
 (0)