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:
parent
ade90ca007
commit
6fc935a4b8
@ -121,7 +121,7 @@ const App = () => {
|
||||
|
||||
case 'b': {
|
||||
event.preventDefault()
|
||||
Editor.toggleMarks(editor, [{ type: 'bold' }])
|
||||
Editor.addMarks(editor, [{ type: 'bold' }])
|
||||
break
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user