atleast I need to be as useful as wordpress article editor
for extra note I think I will built the project using ruby on rails, if anyone have stack suggestions, please tell me I will happy to have that
Otherwise a reader might think (as I did) that you're asking a question the answer to which could be LibreOffice Writer or other things like that.
This space has a lot of churn; a hot new project is started by a dev who claims they'll finally have "the solution" for the WYSIWYG space. Then it gets dropped after a few years. In fact many of the comments are listing archived projects no longer under development.
This is an unfortunate drawback to truly free software. The only two WYSIWYG editors I can recommend are OSS but have premium plans and premium plugins. However even their free plans are more capable than most other options. Corporate backing has upsides.
I would try TinyMCE. The docs are okay and it is a true WYSIWYG. If you're ready for the learning curve, and want to make something with virtually unlimited capabilities, CKeditor cannot be beat. The CKeditor model is a subtle abstraction you don't notice is there, unless you need it in which case it's very powerful. The documentation is incredible. The pre-built editors and plugins cover many use cases.
Not an editor, but you might want to look at:
"Modern Front-End Magic With Rails 7: A Visual Editor For Markdown (Part 1)" and part 2 (no part 3?):
https://kuy.io/blog/posts/modern-front-end-magic-with-rails-...
https://kuy.io/blog/posts/modern-front-end-magic-with-rails-...
Or just use their rail engine for blogging:
https://kuy.io/blog/posts/today-we-released-bloak-the-rails-...
It's by far the best codebase I've seen so far with regard to web editors.
Another comment mentioned TipTap2. If you're using React and like abstractions, TipTap2 is a good choice in my opinion.
But I also enjoyed working with ProseMirror without another library on top.
PS: AtlasKit has a lot of boilerplate code for working with PM that makes things easier: https://atlaskit.atlassian.com/packages/editor/editor-core
The WordPress article editor (Gutenberg) is FOSS, so you could just use that in your project. That's definitely at least as useful as the WordPress article editor! ;)
This, to me, is where the "paying for software that isn't free in either sense" has finally reached a fair equilibrium? Which is to say, thanks to the free-ness of the underlying platform -- it seems absolutely equitable to be like, "dig in and use the free but more difficult stuff that's out there, or just drop some money on this pay stuff (which you're also still generally free to hack with.)
I don't think very much software under "you can't have it unless you pay for it" is very good, but this is an exception.
these days i just try to stick with markdown, which is more controlled and scope-limited, albeit more targetted for technical people.
1. Lexical
2. ProseMirror/Tiptap
Both of these are very extensible, actively developed, and well-built. Tiptap is indy and pushes its pro product now (fair). Lexical is supported by meta. Pros and cons to both of these FOSS types.
I think best bet is Lexical. It is actively maintained and simple yet extensible with a lot of things