Jump to content

Textarea extra content


Frank Vèssia
 Share

Recommended Posts

Hello guys, I'm trying to setup a textarea allowing extra content for the tag <A> but it's not working, i just need to be able to add "class" to the tag, so I just added this to the ckeditor input settings,  "extra allowed content"
a[href,class,rel]
but it's ignored...any idea?
using PW 3.0.42

Link to comment
Share on other sites

On 4/04/2017 at 8:09 PM, Sevarf2 said:

i just need to be able to add "class" to the tag, so I just added this to the ckeditor input settings,  "extra allowed content"
a[href,class,rel]

That syntax is not quite right. The format is this:

elements [attributes]{styles}(classes)

So your rule would be:

a[href,rel](*)

Don't think you need to include the href attribute though as that is allowed by default.

  • Like 1
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...