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

WYSIWYG editor stripping out html #2814

Open
fosterc1 opened this issue Jan 16, 2025 · 2 comments
Open

WYSIWYG editor stripping out html #2814

fosterc1 opened this issue Jan 16, 2025 · 2 comments

Comments

@fosterc1
Copy link

fosterc1 commented Jan 16, 2025

The WYSIWYG editor appears to be stripping out HTML added within text boxes.

FW: v5.42.1 / AT: v0.11.5

When entering html text within the Source of the WYSIWYG editor and then saving the HTML code is being removed.

As an example, we've added the following in the Body text in Project settings and within a text component:
<p>Welcome!We are committed to creating an environment where equity, diversity and inclusion (ED&amp;I) are non-negotiable, allowing our unique and authentic team members to bring their whole selves to work and feel a real sense of belonging. We’re on an ED&amp;I journey, and this learning experience is just the start.</p><p>Throughout this experience, you’ll have opportunities to reflect on what ED&amp;I means for you. When prompted, add your thoughts to your personal diary in the top right of the screen using the<span class="icon icon-checklist inline-icon" aria-hidden="true"></span>icon. You’ll be asked to share some of your thoughts and learning with your line manager or team leader at your next catch-up with them.</p>

After saving the editor stips out the HTML <span class="icon icon-checklist inline-icon" aria-hidden="true"></span>

We have tried selecting Source adding the text and saving and selecting Source adding the text, selecting Source again and saving, nothing seems to be preserving the HTML code.

@oliverfoster
Copy link
Member

This is an authoring tool issue, moving.

@oliverfoster oliverfoster transferred this issue from adaptlearning/adapt_framework Jan 16, 2025
@oliverfoster
Copy link
Member

oliverfoster commented Jan 16, 2025

There is no html in the example you've given @fosterc1 could you be more specific please. Have wrapped the example in appropriate tags.

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

No branches or pull requests

2 participants