Skip to content

Conversation

@howyi
Copy link

@howyi howyi commented Jan 14, 2021

Related issue: outline/rich-markdown-editor#233
https://github.com/outline/rich-markdown-editor/pull/252/files

3915231
After this commit(> 1.2.5), "setBlockType ()" of "prosemirror-command" has a problem.

This is a fix for the problem that Node's Wrap is not working as shown in the image.
Specifically, the line you intended to change is deleted, and the line below is changed.

current

fixed(in this commit)

@marijnh
Copy link
Member

marijnh commented Jan 14, 2021

Would it be possible to add a test that fails with the current code but passes with this patch in test/test-trans.js?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants