Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from TinyMCE-based editors to ProseMirror #783

Open
rsek opened this issue May 31, 2023 · 0 comments
Open

Migrate from TinyMCE-based editors to ProseMirror #783

rsek opened this issue May 31, 2023 · 0 comments

Comments

@rsek
Copy link
Collaborator

rsek commented May 31, 2023

ProseMirror seems to be The Future:tm: as far as FVTT is concerned. This isn't particularly urgent, since TinyMCE isn't deprecated yet. However, implementing it would get us some neat features like collaborative editing, which would be a great feature for a game that's often played co-op.

some candidates for implementation:

  • https://tiptap.dev/ - renderless, extensible ProseMirror-based editor library, vue-compatible out of the box. collaboration requires subscription, unfortunately, but perhaps we could jerry-rig something from whatever foundry's doing under the hood
  • https://github.com/rzuppur/RVPE - minimalist ProseMirror-based component
  • use a wrapper component that just renders an HBS template. that's it. upside: the HBS template is already written by foundry :D

i think we have some unusual use cases, like putting oracle results in editors, that might benefit from additional helpers for custom extensions. in the mean time, the last option might be a good way to get us up and running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant