I'm trying to build simple slate editor in React. I'm using create-react-app and I have made simple component for representing the editor This is ...
I'm trying to build simple slate editor in React. I'm using create-react-app and I have made simple component for representing the editor This is ...
I'm trying to add a new block right after the block where the cursor is located / where I click on a button. My questions are: How can I determin ...
I am trying to get copied fragment into onCopy hook vainly. I've been trying with the event.clipboardData... const { clipboardData } = event; const ...
I'm trying to move the cursor in react slate-editor. I tried to do it in 2 ways. First: Second: Unfortunately, select and moveTo doesn't seem ...
I'm following a slate tutorial on https://docs.slatejs.org/walkthroughs/04-applying-custom-formatting There is a function call Text.isText(n), I keep ...
I have created an editor from composing a couple of slates examples together, namely https://www.slatejs.org/examples/richtext and https://www.slatejs ...