mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-30 18:39:51 +02:00
Fix Underline <FormatButton /> in Hovering Toolbar Example
(#4128)
* Fix Underline <FormatButton /> in `Hovering Toolbar Example` * Update hovering-toolbar.tsx Co-authored-by: Ian Storm Taylor <ian@ianstormtaylor.com>
This commit is contained in:
@@ -32,7 +32,7 @@ const HoveringMenuExample = () => {
|
|||||||
case 'formatItalic':
|
case 'formatItalic':
|
||||||
return toggleFormat(editor, 'italic')
|
return toggleFormat(editor, 'italic')
|
||||||
case 'formatUnderline':
|
case 'formatUnderline':
|
||||||
return toggleFormat(editor, 'underline')
|
return toggleFormat(editor, 'underlined')
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user