Changes between Initial Version and Version 2 of Ticket #6168


Ignore:
Timestamp:
Sep 10, 2010, 1:52:53 PM (14 years ago)
Author:
Krzysztof Studnik
Comment:

I Confirmed this issue. Do You mean that it should work like this:

<span style="font-size: 16px; text-decoration: underline ">
This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.
?

</span>

Instead of:

<span style="font-size: 16px; ">
<span style="text-decoration: underline">
This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.
?

</span>

?

</span>

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6168

    • Property Status changed from new to pending
    • Property Keywords IBM added; ibm removed
    • Property Component changed from General to Core : Styles
  • Ticket #6168 – Description

    initial v2  
    11I changed the editor configuration object so that instead of inserting a <u> for underline, it inserts a <span> with an inline style :
    2 
     2{{{
    33coreStyles_underline: {
    44         element: "span",
    55         attributes : {style: "text-decoration: underline"}
    66}
    7 
     7}}}
    88This works great except that when you apply this to an element that has had e.g. it's font size increased, the "underline" span replaces the font size one, effectively losing that style.
    99
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy