Copying content with comment marker triggers change:data
#15943
Labels
package:clipboard
package:comments
squad:collaboration
Issue to be handled by the Collaboration team.
type:bug
This issue reports a buggy (incorrect) behavior.
Milestone
📝 Provide detailed reproduction steps (if any)
It is better visible if you configure comments to copy markers on copy-paste (
config.comments.copyMarkers: [ 'cut', 'copy' ]
).✔️ Expected result
Nothing happens.
❌ Actual result
📃 Other details
This is probably due to the fact that we temporarily insert
$marker
elements into the content. I hoped thatchange:data
will not fire because in the end there are no real changes in the differ (the element is added and removed in the same batch). So either differ works differently than I thought, or something extra happens.The text was updated successfully, but these errors were encountered: