Hi there.
I hava a atomic decoration to mark special text(in example is got}
)
When I double click decoration, and press Backspace, The char }
in marked text will be delete(with next char ,
)
The decoration has not been delete as an atomic unit. Is this a bug?
here is the mini size demo: cool-shape-84nfdj - CodeSandbox
When I load standardKeymap → Backspace. the problem is appear
marijn
2
I agree, that should make sure the deleted region covers the entire atomic range. This patch fixes that.
1 Like
That’s cool, thanks~
And when you will release the bugfix version?
marijn
4
I’ve tagged @codemirror/commands 6.1.1 with this fix.
1 Like