Why the space is not removed at the end, after pasting the text?

Tags: #<Tag:0x00007f8b1db631e0>

I try to insert text, for example "Pound Sterling ", the space is not removed the first time, only after re-activating the editing of the cell. The trim does not work the first time

https://jsfiddle.net/jsa40r83/

Hey @pontiac358

can you record the behavior and share a step by step scenario?
I do not see any unexpected behavior on the Mojave/ Chrome 75.

Hey @aleksandra_budnik
Is ready

Thank you for sharing @pontiac358

the space is a char, if you would want it to be pasted differently (without this char) you should change the data in the beforePaste hook.