Disable spellcheck - add attribute to contenteditable div

Hey folks,

I was looking for the best path to add an attribute to the contenteditable div that is setup by prosemirror. On Chrome, spellchecking is being automatically applied, which I would like to disable by adding a spellcheck='false' attribute.

image

What’s the easiest path forward to accomplish this?

Thanks, James

See the attributes prop.

1 Like

Thank you! Exactly what I was missing