remark-slate icon indicating copy to clipboard operation
remark-slate copied to clipboard

fix: updated NodeTypes to fix customization error.

Open Cwittofur opened this issue 2 years ago • 0 comments

The node types were set in a way that caused customization to be challenging. For example, the ol_list was typed as the string literal "ol_list", when using typescript this caused issues with types not matching. Since the defaultNodeTypes is used it will have the default types all set. Setting it as a string will allow others to customize the values.

Cwittofur avatar Sep 29 '22 21:09 Cwittofur