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

Call ContentTools.StylePalette and styles only once #117

Merged
merged 3 commits into from
Jul 2, 2022
Merged

Call ContentTools.StylePalette and styles only once #117

merged 3 commits into from
Jul 2, 2022

Conversation

PubliAlex
Copy link
Contributor

This PR fix the issue where StylePalette is injected multiple times when you have several contenteditor blocks in your pages, partials etc.... See This issue

Remove scripts from default partial
Add scripts to dedicated partial
Inject scripts onRun in a dedicated partial instead of onRender
@Samuell1 Samuell1 changed the base branch from master to develop July 2, 2022 14:19
@Samuell1 Samuell1 merged commit 9cc1cc8 into Samuell1:develop Jul 2, 2022
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