I'm using CKEditor 4 on my website and have found some weirdness surrounding h2 tags. If I have a line that is an h2 and I delete the whitespace before it to the point where the h2 text is now on a new, pre-existing non h2 line (therefore inheriting it's style), if I hit enter to move that h2 text back to it's own line and add Heading 2 formatting again it adds an inline style attribute to the h2 (line-height: 1.2px).
I have a feeling that this has to do with the Advanced Content Filter but I've seemingly tried everything to no avail, even after clearing cache to ensure that CKEditor is using the newest version of my config.js file.
What I really want here is CKEditor to not add any inline styling to any elements. Any help would be greatly appreciated!
Are you using Chrome?
Are you using Chrome?
You should test with other browsers because Chrome has a number of problems related to editing, and yours seems to be one of them.
I've tried on Chrome, Firefox
I've tried on Chrome, Firefox, and Safari and am getting the same results. I actually was able to fix this issue by manipulating the contents.css file, but now I have an issue where if I hit enter while in the middle of a line, CKEditor wraps the new paragraph in a span tag.
I am using CKEditor version 4.4.2.
EDIT: I am not seeing this in Firefox actually. Maybe webkit browsers are the culprit?