prosekit/extensions/readonly
Marks the editor as read-only.
Functions
Section titled “Functions”defineReadonly()
Section titled “defineReadonly()”-
function defineReadonly():PlainExtension -
Make the editor read-only.
Marks the editor as read-only.
function defineReadonly(): PlainExtension
Make the editor read-only.