Jump to content

Programmatically insert/format image into CKEditor


seanzol

Recommended Posts

I'm attempting to add some click-to-insert functionality to the editor in 4.1, and I can't seem to find the proper combination of functions to insert and format an image.

I could just insert the <img> tag myself, but then I miss out on the thumbnailing/lightboxing that happens when someone inserts an image by hand. Is there an easy way to tell the editor to parse new content (if I were to just insert the URL), or to pre-process a URL in the same way that CKEditor does it?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...