4 ms·
"Built on top of react", sorry at least for now it is too big of a dependency for most projects that are not react based. IMO that disqualifies it from being "f
by ergo14 8y ago
"Built on top of react", sorry at least for now it is too big of a dependency for most projects that are not react based. IMO that disqualifies it from being "framework for building rich text editors".
- sbr464 8y agoWhich framework (or non) are you using, if not react? Just curious, or what would be a better (web related) base?
- neya 8y agoOh, thanks for pointing that out, I totally missed it. I use VueJS, so this would be a pass from me.
- ergo14 8y agoI think prosemirror is a good option here, it is framework agnostic solution from codemirror author (I did not use it personally yet).
- migueloller 8y agoThe core actually doesn’t rely on React at all, allowing interop with any front-end framework, or even vanilla JS. The current plugins provided officially are React plugins, but other plugins can be built for Vue, Angular, etc.
- ergo14 8y agoI opened package.json I can see: "react": "^16.4.1", "react-dom": "^16.4.1", "react-emotion": "^9.2.4", "react-hot-loader": "^3.1.3", "react-portal": "^4.1.5", "react-router-dom": "^4.3.1", "react-values": "^0.3.0", Looks like it requires react+vdom to me to be functional, Core has a peer dependency on react too.
- migueloller 8y agoIt does at the moment based on the manifest, but after exploring the source, it's clear that this can easily be changed.
- wiktor_walc 8y agoIf you are looking for a completely framework-agnostic rich text editor, then check CKEditor 5 (https://ckeditor.com/ckeditor-5/ https://ckeditor.com/ckeditor-5/). It comes with it's own UI library which you can swap freely with any other UI thanks a to highly decoupled architecture.