Reputation: 521
i'am having issues in ckeditor styles, when i select the some text and changing the styles. but it reflects into whole line. any solution for this.
Upvotes: 1
Views: 167
Reputation: 22023
You're perhaps applying block styles or changing format (format are in fact block styles). They are applied to entire paragraph/block, not just selected text.
This is close to how it works in MS Word (and exactly like in Libre Office), but with the difference that in MS Word it is possible to format part of block if you apply format on not collapsed (not empty) selection. CKEditor doesn't allow this because it creates HTML. And in HTML only entire block may be a header, paragraph, preformatted, etc. You can't change format of a part of block.
So if we're talking about behaviour of format combo and block styles - it is correct.
Upvotes: 2