Floater
- Add a Floater component, used for wrapping a floating toolbar to be shown when a selection is made.
- Pass
viewinto the render prop instead ofstateanddispatch, and useforceUpdateinstead of storing the editor state in the component state. - Pass the whole doc into the
onChangehandler instead of just the content.