Description
Hi! Thanks for this great framework! It's been providing lots of value to my team and our users. :)
We've run into a little problem while trying to upgrade to v44+, though:
With YJsPlugin, useEditorSelection() always returns null or is not even executed
This worked fine in v43.
Reproduction URL
https://github.com/eriksson-daniel/useEditorSelection-YjsPlugin
Reproduction steps
Use useEditorSelection() in conjunction with YjsPlugin.
From the readme:
yarn install
yarn start
- Visit http://localhost:5173
- Write something in the little editor
- Open console
- Change selection
- Observe that
useEditorSelection() returns null / doesn't even execute
Plate version
v44+
Slate React version
0.114.2 (transitive dependency)
Screenshots
Logs
Browsers
Chrome, Firefox
Description
Hi! Thanks for this great framework! It's been providing lots of value to my team and our users. :)
We've run into a little problem while trying to upgrade to v44+, though:
With YJsPlugin,
useEditorSelection()always returns null or is not even executedThis worked fine in v43.
Reproduction URL
https://github.com/eriksson-daniel/useEditorSelection-YjsPlugin
Reproduction steps
Use
useEditorSelection()in conjunction with YjsPlugin.From the readme:
yarn installyarn startuseEditorSelection()returns null / doesn't even executePlate version
v44+
Slate React version
0.114.2 (transitive dependency)
Screenshots
Logs
Browsers
Chrome, Firefox