trsteel88 / TrsteelCkeditorBundle

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

Expose the config.allowedContent option #106

Closed erichard closed 7 years ago

erichard commented 8 years ago

The bundle use two filtering system : Ckeditor ACF and the htmlpurifier.

I think the ACF should be disabled or at least optionnaly disabled.

The CkEditor documentation tell us to set config.allowedContent = true.

trsteel88 commented 8 years ago

I'm not sure what you mean by optionally disabled. If you want to disable it, just set that in your config?

erichard commented 8 years ago

This option is not exposed in the bundle config yet

malas commented 8 years ago

bundle config must have this option available. because with 'extra_allowed_content' we can not disable ACF.

nashsaint commented 7 years ago

Can't figure out how to add this to config.yml

Attr.AllowedFrameTargets = true

trsteel88 commented 7 years ago

allowedContent is now supported in v1.11.0

See https://github.com/trsteel88/TrsteelCkeditorBundle/commit/aa80a1642af723511794d11b3ff192e543a1219a