Hi!
My problem is the following:
When I use the editor and typing in sg, then I select a part of the text or the whole of it and then clicking on the "bold" command it's makes the text bold. But then immediatelly I just simply click on a font-size (ex. 28) the text REMAINS in it's original size (althought I can see the span with size 28 around).
When I play it on the opposite way (first click on the size 28 then click on bold) it's working fine.
The source of the generated output differs only in the order of the "span" and "strong" tags.
The same situation appears when I try to give a html fragment to the editor. The result is the following:
If the "strong" is outside and the "span" is inside it's fine. If it's in opposite way it's just wrong.
ex:
GOOD:
WRONG:
What am I doing wrong? What setting is missing?
Please help!
My problem is the following:
When I use the editor and typing in sg, then I select a part of the text or the whole of it and then clicking on the "bold" command it's makes the text bold. But then immediatelly I just simply click on a font-size (ex. 28) the text REMAINS in it's original size (althought I can see the span with size 28 around).
When I play it on the opposite way (first click on the size 28 then click on bold) it's working fine.
The source of the generated output differs only in the order of the "span" and "strong" tags.
The same situation appears when I try to give a html fragment to the editor. The result is the following:
If the "strong" is outside and the "span" is inside it's fine. If it's in opposite way it's just wrong.
ex:
GOOD:
<p> abcd <strong><span style="font-size: 28px">efgh</span></strong> ijkl</p>
WRONG:
<p> abcd <span style="font-size: 28px"><strong>efgh</strong></span> ijkl</p>
What am I doing wrong? What setting is missing?
Please help!
Re: Bug or knowledge problem? CKeditor 3.6.1
It sounds like it could be CSS problem. Is it possible that the <strong> tag has a font size setting in a style sheet that's being called? If it does, it's closer to the text inside the tags and would override the font-size style in the outer span.
If you use the Firebug plugin in FireFox you can find out very quickly. Just right click on the text and click "Inspect Element". Firebug will show you the styles that are being applied to that text and and where the style is being set.
Be Well,
Joe
Re: Bug or knowledge problem? CKeditor 3.6.1
Unfortunatelly it was my mistake: I touched the ckeditor.js and I added a new css style via "addCss" method, but that style mixed up this stuff for me.
Anyway thanx for your attention!
pszabo
Re: Bug or knowledge problem? CKeditor 3.6.1
Nice to hear that you got it resolved.
Joe