withHistory
withHistory<T extends Editor>(editor: T): T & HistoryEditor
withHistory<T extends Editor>(editor: T): T & HistoryEditorconst [editor] = useState(() => withReact(withHistory(createEditor())))Last updated
withHistory<T extends Editor>(editor: T): T & HistoryEditorconst [editor] = useState(() => withReact(withHistory(createEditor())))Last updated