Skip to content

How to disable markdown? #850

Answered by Aymkdn
Aymkdn asked this question in Questions & Help
Oct 6, 2020 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Actually, in the version I'm using, I used disablePasteRules and disableInputRules, and it looks like it worked:

this.editor = new Editor({
      content: "",
      disablePasteRules:true, // disable Markdown when pasting
      disableInputRules:true, // disable Markdown when typing
      extensions:[
        new Bold(),
        new Italic(),
        new OrderedList(),
        new BulletList(),
        new ListItem(),
        new Link(),
        new History()
      ],
      onUpdate:obj => {
        // do something with obj.getHTML()
      }
    })

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@hanspagel
Comment options

@rafaelrollup
Comment options

Answer selected by Aymkdn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants