Jump to content

Unable to add a link to an image in TinyMCE


TomPich
 Share

Recommended Posts

Hello all,

I have a tinyMCE field and a multiple images field in the same page.

I would like to add a link to an image inserted in the tinyMCE field, something like :

<a href="xxx"><img src="xxx"></a>

I can’t achieve that : when I add a link to the image (after selecting the image in TinyMCE), the link appears inside <img></img> tags (wtf ?) and then it’s getting cleaned on submit.
Linking some text works perfectly, though.

Is it a bug, or am I doing something wrong ?

Thanks in advance!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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