trsteel88 / TrsteelCkeditorBundle

Symfony2 bundle for easy integration of the CKEditor WYSIWYG
97 stars 58 forks source link

HTML.Allowed from htmlpurifier #88

Closed sandello-alkr closed 9 years ago

sandello-alkr commented 9 years ago

Hi! I'm looking for a button tag support. I know that I should use smth like

extra_allowed_content: 'button[*]'
html_purifier:
    config:
        HTML.AllowedElements: 'div,p,a,span,img,table,tr,td,button'

but this won't work(

Can you help me here?

trsteel88 commented 9 years ago

I think this is an issue with the htmlpurifier not recognising buttons.