@@ -32,7 +32,7 @@ export const bold: EditorButtonDefinition = buildFormatButton('Bold', 'bold', bo
3232export const italic : EditorButtonDefinition = buildFormatButton ( 'Italic' , 'italic' , italicIcon ) ;
3333export const underline : EditorButtonDefinition = buildFormatButton ( 'Underline' , 'underline' , underlinedIcon ) ;
3434export const textColor : EditorBasicButtonDefinition = { label : 'Text color' , icon : textColorIcon } ;
35- export const highlightColor : EditorBasicButtonDefinition = { label : 'Background color' , icon : highlightIcon } ;
35+ export const highlightColor : EditorBasicButtonDefinition = { label : 'Highlight color' , icon : highlightIcon } ;
3636
3737function colorAction ( context : EditorUiContext , property : string , color : string ) : void {
3838 context . editor . update ( ( ) => {
@@ -44,7 +44,7 @@ function colorAction(context: EditorUiContext, property: string, color: string):
4444}
4545
4646export const textColorAction = ( color : string , context : EditorUiContext ) => colorAction ( context , 'color' , color ) ;
47- export const highlightColorAction = ( color : string , context : EditorUiContext ) => colorAction ( context , 'color' , color ) ;
47+ export const highlightColorAction = ( color : string , context : EditorUiContext ) => colorAction ( context , 'background- color' , color ) ;
4848
4949export const strikethrough : EditorButtonDefinition = buildFormatButton ( 'Strikethrough' , 'strikethrough' , strikethroughIcon ) ;
5050export const superscript : EditorButtonDefinition = buildFormatButton ( 'Superscript' , 'superscript' , superscriptIcon ) ;
0 commit comments