Answer the question
In order to leave comments, you need to log in
How to change indents (margin) of paragraphs in ckeditor?
Hello. I have connected ckeditor to my project. But when I type paragraphs there - I press Enter, margins appear at the paragraph. How can I remove them? I have to reset the paragraphs - so that there is no margin. But this reset has no effect on the plugin. I am attaching a screenshot.
There are these margins:
-webkit-margin-before: 1em;
-webkit-margin-after: 1em;
user agent stylesheet
Answer the question
In order to leave comments, you need to log in
Because the editor works in an iframe and doesn't know anything about your external styles. Use contents.css https://docs.ckeditor.com/ckeditor4/latest/api/CKE...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question