Is it possible to render two crepe editors in one page? #1696
-
Is appears that Crepe editor is designed like a Sigleton I have problems to render 2 editors with different md content in one html page (md content is copied from the last created crepe editor) Crepe Editor2: Uncomment Editor2 here: https://github.com/tagspaces/tagspaces/blob/086ed13410634741330e43f91bd81e53a8227d68/src/renderer/perspectives/grid/components/GridPagination.tsx#L358 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think the problem is in react useEditor hook here: |
Beta Was this translation helpful? Give feedback.
Have you tried to wrap them into two different
MilkdownProvider
?