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

Added support for conditional comments (only IE) for CSS #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pgrunewald
Copy link

Hello,

I was noticing that every CSS will be included into CKEditor regardless if there is a conditional statement or not. I built a JavaScript checking method, which will be applied when such a conditional statement exists.

To make this possible I needed to update how CSS entries are aggregated: Instead of a strings, there's now a intermediate dictionary (key: url, conditionalcomment). The resulting JS Code will check for each item which has a conditional comment, before adding it.

regards, Paul

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