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

adjust htmlpurifier for the todo list #121

Merged
merged 5 commits into from Aug 12, 2023

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Jul 19, 2023

Description

While working on conditionally swapping List and DocumentList, I noticed that the TodoList needs some HTML Purifier config adjustments to work (without it, it will get saved as a regular unordered list, assuming the “Purify HTML” setting is checked, as it should be).

I added a method that gets called before the ModifyPurifierConfigEvent that adjusts the config based on the items in the ckeConfig->toolbar. Currently, the only button we adjust for is the todoList.

Related issues

@brandonkelly brandonkelly merged commit e876004 into main Aug 12, 2023
2 of 3 checks passed
@brandonkelly brandonkelly deleted the feature/plugin-specific-html-purifier-adjustments branch August 12, 2023 13:02
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

Successfully merging this pull request may close these issues.

None yet

2 participants