Plugin to limit max length of ProseMirror text

I’m using ProseMirror as an input box (for reasons) and need to limit it to N characters, is there a plugin out there that does this already? (cursory Googling didn’t reveal one). Thought I’d ask here before I write one to handle this.

Tiptap has a good example: tiptap/character-count.ts at main · ueberdosis/tiptap · GitHub

1 Like