Content of text blocks is changing after dragging them

21 views
Skip to first unread message

Стас Утикеев

unread,
Nov 8, 2017, 10:23:54 AM11/8/17
to Blockly
I work with BlocklyAbstractFragment. Whenever I try to drag text block for the first time, holding it on the text not on the block itself, it pastes the following text to the cursor:
intent:#Intent;S.BLOCKLY_XML=%0D%0A%3Cxml%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%22%3E%0D%0A%20%20%3Cblock%20type%3D%22text%22%20id%3D%22aea2cbc7-a610-4ecb-bb3e-522043178d03%22%20x%3D%22-4.0%22%20y%3D%22-4.0%22%3E%0D%0A%20%20%20%20%3Cfield%20name%3D%22TEXT%22%3E%3C%2Ffield%3E%0D%0A%20%20%3C%2Fblock%3E%0D%0A%3C%2Fxml%3E;end

What may cause it?

Erik Pasternak

unread,
Nov 8, 2017, 12:11:35 PM11/8/17
to Blockly
That looks like a bug in our drag and drop implementation on Android. Filed https://github.com/google/blockly-android/issues/691 to track.
Reply all
Reply to author
Forward
0 new messages