Skip to main content
100%

Gist d75e8f2f712233fda719

✓ Published0🌍 Public
Aandybak
Last edited Aug 30, 2014
Created on Aug 30, 2014

This example shows a TinyMCE popup dialog that inserts image tags into a document, built with jQuery and the tinyMCEPopup API. It displays a form for entering an image’s alt text and CSS class, then uses the `mceInsertContent` command to inject the generated `<img>` element into the editor. The code listens for clicks on file-browser buttons, constructs a `/media/` path from the button’s `data-forimage` attribute, and positions the dialog relative to the current scroll position. No data visualization is present; the example focuses on editor integration and DOM manipulation.

AI-generated description

Similar vizzes