No internet connection
  1. Home
  2. Support

Make Markdown preview optional for commentors?

By Steve Lee @stevelee
    2019-09-28 11:04:39.912Z

    I'm guessing most commenters (if I ever get any) will just type in text so the markdown preview may seem confusing. Perhaps the preview could be optional or on detection of markdown in text?

    • 4 replies
    1. Yes, this is on the roadmap — not in the nearest future though. I have in mind to add a rich text / WYSIWYG editor, by integrating with ProseMirror. And then people could edit the "final" text directly, and add bold / italics / etc formatting, without using any "magic syntax", and there'd be no need for a preview. — Like most editors work, e.g. the MS Word editor or Gmail editor etc. And ProseMirror lets one switch between Commonmark and rich text.

      1. S
        In reply tostevelee:
        Steve Lee @stevelee
          2019-09-30 11:00:19.104Z

          hmm adding a WSYWIG is an extra dep and loads of javascript payload. My guess is most people want just text - and maybee URL linking.

          Also Accessibility is a BIG issue with WYSWIG aditors - most are hopless - CKEditor is probably the best.

          1. ProseMirror is quite good, is my impression. Actually I'd stay away from CKEditor. You're right that this is an extra dependency — and it'll get lazy loaded only if needed, typically won't be noticeable. I think ProseMirror is ok w.r.t. accessibility — look, here someone built a supposedly accessibility friendly editor, based on ProseMirror: https://github.com/ifiokjr/remirror

            1. SSteve Lee @stevelee
                2019-10-04 16:02:01.137Z

                ProseMirror is new to me. Will explore it some time :)

            2. Progress
              with doing this idea
            3. @KajMagnus marked this topic as Planned 2019-09-30 04:03:57.488Z.