Electrolux

Results 14 comments of Electrolux

> Adding nodes should not use setNodes, but rather APIs such as insertNodes hi, @WindrunnerMax thanks for your reply I understand your point; indeed, I can use the `insertNode` API....

`slate-diff` can indeed solve the problem of setNodes. However, I think that `slate` should import the `slate-diff ` library and use it as the logic of setNodes instead of making...

> Hi @electroluxcode, thanks for taking the time to open this. `fireEvent` is a very low level API, all it does is dispatch the event based on the configuration. I...

> That's quite a big difference. I'm not sure how Tiptap handles pasting internally, but here's how Slate handles this case: `editor.insertTextData` splits the text into lines and alternates calling...