Open julihoh opened 6 years ago
https://github.com/Canner/canner-slate-editor/blob/f414b6c61500f24cda6eaa63e098aee9d6ce8e2a/packages/slate-icons/header/src/index.js#L37
it seems as if the setBlock method has been renamed to setBlocks in newer versions of slate.
setBlock
setBlocks
The editors are not compatible either with recent slate versions, from what i tested slate@0.41.0+ have compatibility issues, maybe older versions too.
slate
slate@0.41.0
https://github.com/Canner/canner-slate-editor/blob/f414b6c61500f24cda6eaa63e098aee9d6ce8e2a/packages/slate-icons/header/src/index.js#L37
it seems as if the
setBlock
method has been renamed tosetBlocks
in newer versions of slate.