How to format text (Moogle Docs)

Continuing the discussion from Moogle:: Google for cows, completely open source, forever:

I want to know how you should format text like Google Docs does, allowing you to select text and make it bold, while at the same time being able to edit it. If you could tell me how to implement the same with markdown as well, please do so!

I want to be able to see the formatted output while editing, not just after editing on some different screen/file.

This seems… complex.

If you mean a Rich Text Editor you can use Quill. If you want a Markdown Editor you can use SimpleMDE or Cherrywriter.

SimpleMDE automatically gives you a toolbar to format the markdown and the editor will convert the markdown to a visual format while editing (taking notes from your note).

You can use them both too.


@QwertyQwerty88 It’s not about adding a format text button, it’s about actually formatting the text as the user types.

Well yeah I meant if you press the button then it will act like google docs, formatting the text as you type

True, but this includes markdown as well.

I found a way to do it, never mind. It involves selection reading and tags.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.