Planning new documentation

Thanks for letting me know! Fixed in this patch.

True, though having two separate methods for this (and then maybe a third for marks) also seems overkill. Would renaming it to setNodeMarkup work for you? (‘markup’ is already used as a term for the set of node type, attributes, and marks in hasMarkup)

True, though having two separate methods for this (and then maybe a third for marks) also seems overkill. Would renaming it to setNodeMarkup work for you? (‘markup’ is already used as a term for the set of node type, attributes, and marks in hasMarkup)

Looks like it would be more consistent with setNodeMarkup!

Done in this patch.

May we have some examples or tutorials on following topics:

  1. Usage of serialize and deserialize of doc/nodes
  2. Initialize the prosemirror editor’s doc based on the result of http.get() or function calls.
  3. different ways to customize the style of nodes/doc

thanks