1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-01-19 14:27:07 +01:00

remove Editor.toggleMarks from docs

This commit is contained in:
Ian Storm Taylor 2019-12-02 22:23:58 -05:00
parent ade90ca007
commit 6fc935a4b8

View File

@ -121,7 +121,7 @@ const App = () => {
case 'b': {
event.preventDefault()
Editor.toggleMarks(editor, [{ type: 'bold' }])
Editor.addMarks(editor, [{ type: 'bold' }])
break
}
}