mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-27 17:09:53 +02:00
This commit is contained in:
@@ -55,7 +55,7 @@ const App = () => {
|
||||
|
||||
case 'b': {
|
||||
event.preventDefault()
|
||||
Editor.addMarks(editor, [{ type: 'bold' }])
|
||||
Editor.addMarks(editor, { type: 'bold' })
|
||||
break
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user