Changeset 1142

Show
Ignore:
Timestamp:
2007-11-30 17:08:09 (2 years ago)
Author:
fredck
Message:

Fixed #1594 : Undo/Redo will now work properly for the color selectors.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/commandclasses/fcktextcolorcommand.js

    r1114 r1142  
    5555FCKTextColorCommand.prototype.SetColor = function( color ) 
    5656{ 
     57        FCKUndo.SaveUndoStep() ; 
     58 
    5759        var style = FCKStyles.GetStyle( '_FCK_' + 
    5860                ( this.Type == 'ForeColor' ? 'Color' : 'BackColor' ) ) ; 
     
    6567                FCKStyles.ApplyStyle( style ) ; 
    6668        } 
     69 
     70        FCKUndo.SaveUndoStep() ; 
    6771 
    6872        FCK.Focus() ; 
  • FCKeditor/trunk/_whatsnew.html

    r1140 r1142  
    149149                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1592">#1592</a>] Fixed the issue where attemping 
    150150                        to remove a blockquote with an empty paragraph would leave behind an empty blockquote IE.</li> 
     151                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1594">#1594</a>] Undo/Redo 
     152                        will now work properly for the color selectors.</li> 
    151153        </ul> 
    152154        <h3>