mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-30 10:29:48 +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':
|
||||
return toggleFormat(editor, 'italic')
|
||||
case 'formatUnderline':
|
||||
return toggleFormat(editor, 'underline')
|
||||
return toggleFormat(editor, 'underlined')
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user