-
Notifications
You must be signed in to change notification settings - Fork 291
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
Comments
This is an authoring tool issue, moving. |
|
@simondate are you able to add and edit the same html in your aats? |
None of my customers have mentioned any issues. Looking at Caleb's code, I wonder if the |
It looks as though the WYSIWYG is stripping out empty tags, so the example above gets removed for that reason. Adding something inside the tag helps, but as @simondate mentioned it looks like @taylortom has something changed in the last few months as the editor didn't quite have this issue previously? |
This is specifically in Authoring tool, CKEditor has its security settings and strips most of the HTML unless You define otherwise in config.
|
As per pr #2780 (comment) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@fosterc1 suggest making the changes to your AAT instances as outlined above. The code from vanilla theme is intended for framework only development so these shouldn't necessarily sync up. @oliverfoster I'm guessing the 'empty tag' and 'aria-label' issues don't need addressing and adding to the base config as they are not required/supported in legacy AAT and as development is now focused on V1? |
@StuartNicholls you can use the above config to enable the aria-label attributes if you want to use them in an AAT ckEditor htmlSupport help page: https://ckeditor.com/docs/ckeditor5/latest/features/html/general-html-support.html I have no idea about blank tags.
Anyone is more than welcome to do a PR if there is something they want fixing or which is required.
No one at Kineo is working on AAT Legacy, I occasionally do urgent bits in my own time but I don't get paid for it and I'm not assigned to it at work at Kineo. Kineo is focusing on V1. Please see: #2749 |
I've seen all that cheers, thanks for taking the time to confirm. |
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.
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.
The text was updated successfully, but these errors were encountered: