Is there a way to modify the configuration of src/schema.ts in a project?
I've tried several times without success.
I ended up copying the source code of https://github.com/ProseMirror/prosemirror-markdown/ into my project to modify hereattrs: {tight: {default: false}} to attrs: {tight: {default: true}}.
Have I used the right method? If yes, what do you think to document it in prosemirror-markdown (I can propose a pull request)?
If no, what is the recommended method?
Is there a way to modify the configuration of
src/schema.ts
in a project?I've tried several times without success.
I ended up copying the source code of https://github.com/ProseMirror/prosemirror-markdown/ into my project to modify here
attrs: {tight: {default: false}}
toattrs: {tight: {default: true}}
.Have I used the right method? If yes, what do you think to document it in
prosemirror-markdown
(I can propose a pull request)? If no, what is the recommended method?Best regards,
Stéphane