Feature request: "Insert image" option in the code editor?

Hi @alexander!

Code editors are supposed to be as ascetical as possible, but this tiny exception would be appreciated!

We often need to insert image references into CSS, JS and especially JSON loopers. It involves several steps, such as adding an image to the gallery in the second tab, copying its URL, and pasting it into the code.

If there was a discrete “insert image link” button, this part of the workflow could be significantly faster.

Thanks!

3 Likes

Hi @Misho,

I’m sorry, we don’t plan on adding any augmentations to the JSON code editor like this, but Parameters might be the answer here. We’re closing in on a beta and I’m looking forward to your thoughts on it all. You’ll be able to create some inspector controls around your data (including images) instead of using JSON.

We did get some JSON linting in for this update though! It will help with catching missing commas, quotes etc. We use the WordPress version of CodeMirror which doesn’t have JSON linting available but we decided to implement it ourselves.

1 Like