Editing the content code directly

Hi. I'm trying to create a drag and drop text type of question but using the front end iterface seems difficult for making the drop zones and text boxes sizes/positions exactly as I want them by dragging. Can anyone tell me if there's any way I can edit the code directly and then paste/upload it back there. For example, in Wordpress there's an option to switch between visual editing and code editing.

I'm using H5P in Moodle 3.9 (not the H5P Moodle plugin).

Thanks.

Content types: