This repository has been archived by the owner on Nov 7, 2022. It is now read-only.
Taking full control of editor view rendering #415
Darmody
announced in
Feature Shaping
Replies: 1 comment
-
In addtional, we can introduce a concept like react-reconciler, for cusomize |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We need to create React Portal to render react component in the prosemirror node view. It is quite intertwined for composing react component view and the prosemirror views.
I think to create our own
prosemirror-view
to take full control of editor view rendering in order to render react components normally is much better.Further, we can take control of
EditorState
andEditorView
both. This is flexible for us to switch implementation ofstate
andview
in the future. Certainly, this also means we don't need prosemirror anymore. So this is just an idea, for now. We can leave conversations about it in this discussion.Beta Was this translation helpful? Give feedback.
All reactions