New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

Configure CKEditor advanced editor to allow spans?

Return to previous page

  • 2/28/2018
  • 3340 Views

Question:

Ted Fitzpatrick 7 years ago

Evoq Basic 9.1.1

Using the Settings > ... > HTML Editor Manager screen, I configured the CKEditor ("advanced editor") so that users can apply a text style: CKEditor wraps the selected text with a span.whateverClassIdefine

Saving and returning to the advanced editor results in the span missing, being filtered out by CKEditor's ACF (advanced content filter) ... but I want the span to be retained (not filtered)

Back in HTML Editor Manager, I set AllowedContent to:

default

I set ExtraAllowedContent to:

span

also tried variation with quotes:

'span'

Results: the ACF still filters spans.

* reaching for hair to start pulling then taking a deep breath *

When I try to set AllowedContent to blank/nothing, it's automatically set to:

true

... from CK's docs this means that ACF shouldn't filter anything, yet spans are still filtered.

So, has anyone used the HTML Editor Manager and successfully allowed arbitrary html elements to not be filtered by CK's ACF?






Configure CKEditor advanced editor to allow spans?

Ted Fitzpatrick
Ted Fitzpatrick 7 years ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member