Skip to content

Default editor: Monaco(VS Code) vs Codemirror vs ? #69

@Rokt33r

Description

@Rokt33r

For default editor, I'm think between Monaco and Codemirror. Both of them are quite powerful and battle tested. We might want to one

So I want to ask two things for now:

  1. Leave a comment to add more Pros and Cons.
  2. Vote with reaction. (:tada: for Monaco, :rocket: for codemirror as I did in this issue.)

If you know another better solution, please leave a comment about it.

Monaco

https://microsoft.github.io/monaco-editor/

Pro

  • Written in typescript

Cons

  • The code is generated code from VSCode
  • Don't support mobile device(You can still use it)

The problem is we might use different editor for mobile app. I guess we eventually have our own markdown editor one day. But making one should take long time and lots of effort. And due to they don't support mobile device, we couldn't expect that any problems in mobile can be fixed.

Codemirror

https://codemirror.net/

Pros

  • Supporting mobile

Cons

  • Written in Javascript(Type definition might not be perfect)

Good news is that next version(v6) of codemirror will be written in Typescript although it is still in prototype status.

Metadata

Metadata

Assignees

No one assigned

    Labels

    poll 🗳️Issue has an actively running poll

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions