Jump to content
Sevarf2

Textarea extra content

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...