You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to be able to override the HTML for an image uploaded (or linked from an external URL) and inserted into a CKEditor field. I cannot find a theme_*() function that controls this however...
Is there a way to override images inserted into CKEditor from a contributed module?
The text was updated successfully, but these errors were encountered:
When you add an image to CKEditor, you upload a file or specify an external URL, then CKEditor adds the HTML: an IMG tag with src, alt, height, width, data-file-id, etc. attributes.
I'd like to edit this HTML, to add additional attributes (automatically obviously, not manually each time I insert an image). I can do this with all other images by overriding theme_image(), but CKEditor doesn't use that theme function (I think it outputs the IMG tag itself)...
Since this was just a question, and since it's been answered (not possible), and since there's been no further activity or people reporting the same thing for 4+ years, I'll close this issue now.
I need to be able to override the HTML for an image uploaded (or linked from an external URL) and inserted into a CKEditor field. I cannot find a
theme_*()
function that controls this however...Is there a way to override images inserted into CKEditor from a contributed module?
The text was updated successfully, but these errors were encountered: