How to disable markdown? #850
Answered
by
Aymkdn
Aymkdn
asked this question in
Questions & Help
-
Hi, I don't want that I'm using an old version (v1.13.0). Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
Aymkdn
Oct 8, 2020
Replies: 2 comments 2 replies
-
You can copy all extensions to your project folder, remove the inputRules (that’s what they are for) and register them with tiptap. Hope that helps! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Actually, in the version I'm using, I used 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()
}
}) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Aymkdn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actually, in the version I'm using, I used
disablePasteRules
anddisableInputRules
, and it looks like it worked: