Changes between Initial Version and Version 2 of Ticket #6168


Ignore:
Timestamp:
09/10/10 15:52:53 (4 years ago)
Author:
krst
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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy