File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -142,9 +142,9 @@ export const getEmbedReactSlashMenuItems = (
142
142
type : 'embed' ,
143
143
} ) ;
144
144
} ,
145
- aliases : [ 'embed ' , 'iframe ' , 'link ' ] ,
145
+ aliases : [ 'newEmbed ' , 'iframeBN ' , 'linkBN ' ] ,
146
146
group,
147
- icon : < Icon iconName = "link " $size = "18px" /> ,
147
+ icon : < Icon iconName = "language " $size = "18px" /> ,
148
148
subtext : t ( 'Add an embed block' ) ,
149
149
} ,
150
150
] ;
@@ -155,5 +155,5 @@ export const getEmbedFormattingToolbarItems = (
155
155
name : t ( 'Embed' ) ,
156
156
type : 'embed' ,
157
157
icon : ( ) => < Icon iconName = "link" $size = "16px" /> ,
158
- isSelected : ( block : any ) => block . type === 'embed' ,
158
+ isSelected : ( block : { type : string } ) => block . type === 'embed' ,
159
159
} ) ;
You can’t perform that action at this time.
0 commit comments