I have the Insert Image plugin working, but I need to add a link or icon to the tab, so that they can click it, and it opens in a PopUp, the Media Library, so they can view the images they want to insert.
Source
Image Description
I'd like to add, for example: "Media Library: <img icon here>"?
Code: Select all
label:"Source",autofocus:!0,onchange:r},h,{name:"alt",type:"textbox",label:"Image description"},{type:"container",label:"Dimensions",layout:"flex",direction:"row",align:"center",spacing:5,items:[{name:"width",type:"textbox",maxLength:3,size:3,onchange:a},{type:"label",text:"x"},{name:"height",type:"textbox",maxLength:3,size:3
I've found this in the Image Plugin file. So I was wondering if this could be tweaked to allow the extra line, and a URL that generates a popup? The plan is, that on the popup, there is a button by each image that they pastes the content of a DIV back into the /source field in TinyMCE.