blockly-samples icon indicating copy to clipboard operation
blockly-samples copied to clipboard

auto deserialize JSON/XML in advanced playground

Open NeilFraser opened this issue 1 year ago • 3 comments
trafficstars

Check for duplicates

  • [X] I have searched for similar issues before opening a new one.

Component

No response

Description

For all plugins, the demo page has JSON/XML/JavaScript/Python/etc tabs. All these tabs are read-only, with the exception of JSON/XML. But pasting or editing the JSON/XML does nothing. Either they should all be read-only, or editing the serialization formats should actually do something.

Reproduction steps

No response

Stack trace

No response

Screenshots

No response

NeilFraser avatar Feb 16 '24 15:02 NeilFraser

If you right click, you can import the serialized state. I think this might be more of a feature request to have it automatically deserialize.

BeksOmega avatar Feb 16 '24 16:02 BeksOmega

Oof, that right-click is not very discoverable.

NeilFraser avatar Feb 16 '24 16:02 NeilFraser

Adding a button or something more visible would be fine, or doing it automatically (only on enter, not every keypress)

maribethb avatar Feb 21 '24 21:02 maribethb