Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML tags and information is stripped from the CKEditor #95

Closed
scottdarcydigital opened this issue Mar 26, 2021 · 2 comments
Closed

HTML tags and information is stripped from the CKEditor #95

scottdarcydigital opened this issue Mar 26, 2021 · 2 comments

Comments

@scottdarcydigital
Copy link

When the source button is used to enter html information into the CKEditor of a component it initially works, including on the course preview. However, when the user attempts to add/edit this again the html has been stripped from the field and only shows basic text with
tags where appropriate.

@tomgreenfield
Copy link
Contributor

tomgreenfield commented Mar 26, 2021

Hi @scottdarcydigital, this is the standard behaviour of CKEditor; see adaptlearning/adapt_authoring#1619.

Overrides can be added to the server configuration e.g.

"adapt-authoring-ui": {
  "ckEditor": {
    "extraAllowedContent": "span(*)[*]{*}"
  }
}

@canstudios-nicolaw
Copy link

We have a different configuration at Can - closing as this isn't an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants