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

Could CKFinder/Editor insert the CSS inline, as an option? #478

Open
FrankConijn opened this issue Aug 4, 2021 · 0 comments
Open

Could CKFinder/Editor insert the CSS inline, as an option? #478

FrankConijn opened this issue Aug 4, 2021 · 0 comments

Comments

@FrankConijn
Copy link

FrankConijn commented Aug 4, 2021

In the pages I make for my clients, I include the main content with a PHP include. That main content file consists of bare HTML markup. I made a simple CMS with which my clients can update those bare HTML files. I'm using CKEditor 5 plus CKFinder for that.

The problem is that when an image is inserted in CKEditor and it is horizontally centered or positioned on the right, the CSS that actually does that is not inserted inline, but through a class (of the parent). Normally, that is the preferred method. But not in my case, because CK does not add that class to my CSS file.

Could the option be created that CKFinder/Editor inserts the CSS inline? In case that option already exists, I'll happy to learn how I can enable it.

@FrankConijn FrankConijn changed the title Could CKEditor insert the CSS inline, as an option? Could CKFinder/Editor insert the CSS inline, as an option? Aug 5, 2021
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

No branches or pull requests

1 participant