#2093: Inconsistent ability to remove basic styles depending on selection
----------------------+-----------------------------------------------------
 Reporter:  Lebannen  |        Type:  Bug          
   Status:  new       |    Priority:  Normal       
Milestone:            |   Component:  Core : Styles
  Version:            |    Keywords:  styles       
----------------------+-----------------------------------------------------
 To reproduce the problem:

 1) Go to http://www.fckeditor.net/demo
 2) Select the words "This is some", and apply the style "Red Title". The
 entire sentence gains the styled h3 block element.
 3) Try to remove the style.  The style cannot be removed.
 4) Select the entire sentence.  Try to remove the style.  The style cannot
 be removed.
 5) Click inside the title to place the editing caret inside the element,
 with no selection. Try to remove the style by clicking on "Red Title"
 again.  The red colour style is removed.

 This is linked to #2092 - currently it is not possible to change the block
 element (in this case h3), but the removal of the associated style="color:
 red;" should be consistent across partial selection, full selection, and
 no-selection-but-caret-inside.

 I would suggest that all three actions should allow what the caret-inside
 action currently does.

 (Occurs in 2.5.1, 2.6 RC)

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2093>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to