Default image insertion code
-
Where is the default code that is inserted by the image uploader/browser in the editor located? On each image, I’ve wrapped it with a div and a caption, the markup ending up as
<div class="box caption left"><img />
Caption</div>
How do I modify the code that’s inserted by the editor to include my wrapped content?
I thought I had located it by editing /wp-admin/js/upload.js but this didn’t affect the code.
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Default image insertion code’ is closed to new replies.