Hi:
I am looking code in prosemirror-history. There is a argument named “config” in new Plugin.
But ’ config ’ argument not in class Plugin .
So, should I keep it ?
Hi:
I am looking code in prosemirror-history. There is a argument named “config” in new Plugin.
But ’ config ’ argument not in class Plugin .
So, should I keep it ?
The spec
object is stored in the plugin as-is, so code that has access to the plugin can use .spec.config
to access this.
Thank you for your response.