My goal is to have all the building blocks in place to allow for editor experimentation in Discourse.
I have discussed this with @david, @tgxworld and @martin in the past, we have a lot of stuff in progress at the moment and can not get started quite yet. That said … our rough plans are:
enough extensibility to allow easy replacement of the editor with a contenteditable composer
experiments around trivial components that add minimal extra interesting functionality
A component that “inlines” images and leaves everything else alone in markdown (super useful for mobile composer)
A component that syntax highlights markdown
perform experiments around full feature editors such as CKEditor 5 (on my list to contact Wiktor once we are ready)
The approach of starting from scratch with a brand new frontend is not advisable and will be something that will be a nightmare to support long term. It may be a short term hack that buys you a few months, but long term it is wasted effort.
trying to replace the editor the way I tried to do it in this plugin is also a nightmare .
I disagree with this. There is much to be gained from this kind of work. I recently had a chat with @renato who is also working on something similar. The other thing is this: Discourse would make for a great headless CMS! I recently built this news website with nextjs and a strapi backend:
It also has a Discourse forum attached now. So why still use strapi? The strapi backend does nothing different than a Discourse forum. It just saves markdown and has a permission system. So my next step will be to get rid of strapi entirely and just use an articles category in Discourse.
I think there is a huge potential here to serve this headless CMS usecase and make it more user friendly.
Anway! Thank you very much for your comment and your work on Discourse!
Markdown is good for programmers, normal people need something different … I also think so …
I started this as a side project to see if it is possible. it certainly is. But I have since gotten older and wiser (hopefully ). There are better ways to spend free time than trying to swim against the tide of a large open source project.
What I need is not WYSIWYG, but a editor that make text and images occupy separate areas, rather than being mixed together. Just like Twitter, Mastodon or other social media’s doing.
I use Discourse for recording my life, and it will be present with lots of text and images. I think markdown is not good to use, because when uploading some media, you must wait for finish, For example: