humhub / humhub-prosemirror

Other
17 stars 8 forks source link

Fix #59: @ becomes @@ when copying mentioning in wiki editor #94

Closed serh-mosk closed 1 year ago

luke- commented 1 year ago

@yuriimaz With the develop branch, we also have tests. Could you add tests for this fix? Also related: https://github.com/humhub/humhub-prosemirror-internal/issues/6

Not sure the tests are already final and working.

serh-mosk commented 1 year ago

@luke- I added a test for mentionion in this PR https://github.com/humhub/humhub-prosemirror/pull/98, but it only tests for copy-pasting text into the editor. I wasn't able to specifically test the copy and paste of the html content, because I don't think it's possible to simulate this behavior with the clipboard. This can only be checked manually.

luke- commented 1 year ago

@yuriimaz Ok, no problem. Thanks for the info!