Render `tight` Markdown lists in WYSIWYG editor

pull/443/head
Matt Baer 4 years ago
parent 424bd55816
commit 47aa436caa
  1. 1
      prose/markdownSerializer.js

@ -48,6 +48,7 @@ export const writeAsMarkdownSerializer = new MarkdownSerializer(
state.closeBlock(node);
},
bullet_list(state, node) {
node.attrs.tight = true;
state.renderList(node, " ", () => `${node.attrs.bullet || "*"} `);
},
ordered_list(state, node) {

Loading…
Cancel
Save