Frank Vèssia Posted April 4, 2017 Share Posted April 4, 2017 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 More sharing options...
SamC Posted April 6, 2017 Share Posted April 6, 2017 @Sevarf2 this may help you: 1 Link to comment Share on other sites More sharing options...
Robin S Posted April 6, 2017 Share Posted April 6, 2017 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. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now