Discourse Basic Editor

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:

  1. enough extensibility to allow easy replacement of the editor with a contenteditable composer
  2. 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
  3. 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.

15 Likes