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

Fix loading custom properties into Tinymce skin #3071

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Oct 15, 2024

Same as #3070 but for main branch.

For the Tinymce skin we need our custom properties available. We cannot simply compile them into the skin, because it gets loaded from Tinymce into the current document and this would lead to duplicated custom properties.

So instead we compile it as separate file and include it in the Alchemy admin as first stylesheet. This has the additional advantage that we can load this file into ie. Solidus to display the Alchemy Tinymce skin as well.

@tvdeyen tvdeyen requested a review from a team as a code owner October 15, 2024 12:34
Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.59%. Comparing base (6b13cc8) to head (3987aff).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3071   +/-   ##
=======================================
  Coverage   96.59%   96.59%           
=======================================
  Files         236      236           
  Lines        6337     6337           
=======================================
  Hits         6121     6121           
  Misses        216      216           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

For the Tinymce skin we need our custom properties available.
We cannot simply compile them into the skin, because it gets
loaded from Tinymce into the current document and this would
lead to duplicated custom properties.

So instead we compile it as separate file and include it in the
Alchemy admin as first stylesheet. This has the additional advantage
that we can load this file into ie. Solidus to display the Alchemy
Tinymce skin as well.
@tvdeyen tvdeyen merged commit 53b4ffa into AlchemyCMS:main Nov 18, 2024
39 checks passed
@tvdeyen tvdeyen deleted the importable-custom-properties branch November 18, 2024 16:59
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.

1 participant