The "script variables" block provides a default variable called "a". You can rename it by clicking on the "a" or by right clicking on the "a" and selecting "rename".
The script variables block can also be used in the custom block editor. That is were it fails. Here are the various permutations for renaming the "script variables" "a":
In the scripts panel:
rename by clicking on the "a" - works
rename by right clicking the "a" and selecting "rename" -works
In the Block Editor:
rename by clicking on the "a" - works
rename by right clicking the "a" and selecting "rename" - DOESN'T WORK. You can type in new name but the "OK" button doesn't do anything. Hitting the enter key doesn't work either
-
What browsers show this problem?
Firefox 68.0.1 and Chrome 75.0.3770.142 -
Please share an example project (if possible).
-
Describes the steps to reproduce this issue.
Create a new custom block, drag the "script variables" block to the block editor. Try to change the name of the "a" variable by right clicking and selecting "rename..". Type in a new name and click the "OK" button. Nothing will happen. -
What does Snap! currently do?
As mention above, nothing happens when you click the OK button -
What should Snap! do instead?
Snap should accepted the changed named