Results 46 comments of Bryan Haakman

In this very simple contenteditable example I also can't get `onCut` to trigger Works in react 16: https://codesandbox.io/s/contenteditable-cut-react-16-hnbsd Not working in react 17: https://codesandbox.io/s/contenteditable-cut-react-17-8qgtt?file=/src/App.js:310-387 So seems like a regression in...

I can imagine it will take a while to fix on the react side, also who knows it might be some firefox quirk that is hard to resolve. So overall...

I wonder if a different kind of API for decorations that is less react-y would be more suitable overall. Perhaps we can bake decorations directly into slate core instead? Maybe...

@jaked I'm not sure what you mean by reactive but isn't that kind of what `RangeRef` provides for this kinda case? Those are kept up-to-date with the editor state.

Question for maintainers/contributors: is this perhaps easier to implement as part of `WebContentsView`, now that `BrowserView` will be deprecated? https://github.com/electron/electron/blob/main/docs/api/browser-view.md

There is no API in chrome for handling certificates differently. I suppose without support for chrome and other major browsers, things like this will never take off. https://code.google.com/p/chromium/issues/detail?id=93636 https://www.imperialviolet.org/2011/09/07/convergence.html

instead of suppressing the error everywhere I think it would make more sense to introduce a specific `editor.reset` method that also resets the selection appropriately. Alternatively you can just reset...

First of all, thanks for tackling this, it seems like a great improvement. I like the error interface, that seems to be a win. In general, if Slate doesn't have...

@zbeyens My comment was more about another approach, namely keeping the throwing mechanics and instead of handling the undefined return, try/catching in the code and passing to the error logger...

@antondc I've been using katex for math rendering and haven't run into the issues you mentioned. If you can post a reproducible example on codepen or something that would be...