As state.PluginSpec.view said:
When the plugin needs to interact with the editor view, or set something up in the DOM, use this field. The function will be called when the plugin’s state is associated with an editor view.
I think “interact with the editor view” is meaning can get the state and do some transaction. but I’m confused what’s meaning about set something up in the DOM.which DOM can be modify? the editor view dom? or the node inside the editor ?
and what difference between the plugin view and nodeViews and schema and decoration?
Looking forward to your reply, Thanks!