@@ -412,35 +412,41 @@ export const tabsItemMarkup: ToolbarItemMarkup = {
412412} ;
413413
414414// ---- Math Inline ----
415+ /** @deprecated Use latexInlineItemView from `@gravity-ui/markdown-editor-latex-extension` */
415416export const mathInlineItemView : ToolbarItemView = {
416417 type : ToolbarDataType . SingleButton ,
417418 title : i18n . bind ( null , 'math_inline' ) ,
418419 icon : icons . functionInline ,
419420 hint : ( ) => `${ i18nHint . bind ( null , 'math_hint' ) ( ) } ${ i18nHint . bind ( null , 'math_hint_katex' ) ( ) } ` ,
420421} ;
422+ /** @deprecated Use latexInlineItemWysiwyg from `@gravity-ui/markdown-editor-latex-extension` */
421423export const mathInlineItemWysiwyg : ToolbarItemWysiwyg = {
422424 exec : ( e ) => e . actions . addMathInline . run ( ) ,
423425 isActive : ( e ) => e . actions . addMathInline . isActive ( ) ,
424426 isEnable : ( e ) => e . actions . addMathInline . isEnable ( ) ,
425427} ;
428+ /** @deprecated Use latexInlineItemMarkup from `@gravity-ui/markdown-editor-latex-extension` */
426429export const mathInlineItemMarkup : ToolbarItemMarkup = {
427430 exec : ( e ) => wrapToMathInline ( e . cm ) ,
428431 isActive : inactive ,
429432 isEnable : enable ,
430433} ;
431434
432435// ---- Math Block ----
436+ /** @deprecated Use latexBlockItemView from `@gravity-ui/markdown-editor-latex-extension` */
433437export const mathBlockItemView : ToolbarItemView = {
434438 type : ToolbarDataType . SingleButton ,
435439 title : i18n . bind ( null , 'math_block' ) ,
436440 icon : icons . functionBlock ,
437441 hint : ( ) => `${ i18nHint . bind ( null , 'math_hint' ) ( ) } ${ i18nHint . bind ( null , 'math_hint_katex' ) ( ) } ` ,
438442} ;
443+ /** @deprecated Use latexBlockItemWysiwyg from `@gravity-ui/markdown-editor-latex-extension` */
439444export const mathBlockItemWysiwyg : ToolbarItemWysiwyg = {
440445 exec : ( e ) => e . actions . toMathBlock . run ( ) ,
441446 isActive : ( e ) => e . actions . toMathBlock . isActive ( ) ,
442447 isEnable : ( e ) => e . actions . toMathBlock . isEnable ( ) ,
443448} ;
449+ /** @deprecated Use latexBlockItemMarkup from `@gravity-ui/markdown-editor-latex-extension` */
444450export const mathBlockItemMarkup : ToolbarItemMarkup = {
445451 exec : ( e ) => wrapToMathBlock ( e . cm ) ,
446452 isActive : inactive ,
@@ -837,6 +843,7 @@ export const codeBlocksListItemView: ToolbarItemView<ToolbarDataType.ListButton>
837843} ;
838844
839845// ---- Math list ----
846+ /** @deprecated Use latexListItemView from `@gravity-ui/markdown-editor-latex-extension` */
840847export const mathListItemView : ToolbarItemView < ToolbarDataType . ListButton > = {
841848 type : ToolbarDataType . ListButton ,
842849 icon : icons . functionInline ,
0 commit comments