File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import {MToolbarFilePopup} from '../../bundle/toolbar/markup/MToolbarFilePopup';
6
6
import { MToolbarImagePopup } from '../../bundle/toolbar/markup/MToolbarImagePopup' ;
7
7
import { WToolbarColors } from '../../bundle/toolbar/wysiwyg/WToolbarColors' ;
8
8
import { WToolbarTextSelect } from '../../bundle/toolbar/wysiwyg/WToolbarTextSelect' ;
9
+ import { showMarkupGpt } from '../../extensions/additional/GPT' ;
9
10
import { gptHotKeys } from '../../extensions/additional/GPT/constants' ;
10
11
import { headingType , pType } from '../../extensions/specs' ;
11
12
import { i18n as i18nHint } from '../../i18n/hints' ;
@@ -795,7 +796,7 @@ export const gptItemWysiwyg: ToolbarItemWysiwyg = {
795
796
isEnable : ( e ) => e . actions . addGptWidget . isEnable ( ) ,
796
797
} ;
797
798
export const gptItemMarkup : ToolbarItemMarkup = {
798
- exec : ( e ) => insertMermaidDiagram ( e . cm ) ,
799
+ exec : ( e ) => showMarkupGpt ( e . cm ) ,
799
800
isActive : inactive ,
800
801
isEnable : enable ,
801
802
} ;
You can’t perform that action at this time.
0 commit comments