Implement initial version of "edit" mode

[#54749766]

While it's enabled, dragging of the interactive iframe will also
calculate new aspectRatio and set it in the interactive definition.