1
0
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:
case
2021-04-13 07:57:39 -07:00
committed by GitHub
parent 734bfb5788
commit 6a6d9f614d

View File

@@ -32,7 +32,7 @@ const HoveringMenuExample = () => {
case 'formatItalic':
return toggleFormat(editor, 'italic')
case 'formatUnderline':
return toggleFormat(editor, 'underline')
return toggleFormat(editor, 'underlined')
}
}}
/>