<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>7160</bug_id>
          
          <creation_ts>2006-02-09 11:15:49 -0800</creation_ts>
          <short_desc>TinyMCE: Undo toolbar command doesn&apos;t undo the previous operation</short_desc>
          <delta_ts>2006-09-19 17:32:09 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://tinymce.moxiecode.com/example.php?example=true</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>6627</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Petersen">c.petersen87</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ian</cc>
    
    <cc>markmalone</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>31954</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Petersen">c.petersen87</who>
    <bug_when>2006-02-09 11:15:49 -0800</bug_when>
    <thetext>Summary: Clicking the Undo toolbar button DOESN&apos;T undo the last previous operation that was applied in the textarea field. I have several cases were this occurs.


Steps to reproduce:


Undoing a style applied to text

1) With TOT webkit, go to http://tinymce.moxiecode.com/example.php?example=true
2) Delete all elements in the first textarea field;  then type a new sentence in this textarea field
3) Select the entire sentence or a single word
4) Click on B toolbar icon and verify style is applied
5) Click on Undo toolbar icon. Instead of removing the bold style applied, it removes the entire line of text
6) This does work if I choose the Undo from the Edit menu.


Undoing the LAST style applied to text

1) With TOT webkit, go to http://tinymce.moxiecode.com/example.php?example=true
2) Delete all elements in the first textarea field;  then type a new sentence in this textarea field
3) Select the entire sentence or a single word
4) Click on B, I, U toolbar icon and verify all styles are applied
5) Click on Undo toolbar icon. Instead of removing that last style applied, it removes the entire line of text
6) This does work if I choose the Undo from the Edit menu.


Undoing pasted text 

1) With TOT webkit, go to http://tinymce.moxiecode.com/example.php?example=true
2) Delete all elements in the first textarea field;  then type a new sentence in this textarea field
3) Select the entire sentence or a single word
4) Press command -C. Place the caret at the end of the sentence and press return key.
5) Caret appears on new line. Now press command -v to paste the text
6) Click on Undo toolbar icon. Instead of removing the pasted text , it removes the both lines of text
7) This does work if I choose the Undo Paste from the Edit menu.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31955</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Petersen">c.petersen87</who>
    <bug_when>2006-02-09 11:16:49 -0800</bug_when>
    <thetext>Note: All of these cases do work correctly in PPC FF 1.5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31959</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Petersen">c.petersen87</who>
    <bug_when>2006-02-09 11:32:39 -0800</bug_when>
    <thetext>This bug is also in Radar as &lt;rdar://4439701 &gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55964</commentid>
    <comment_count>3</comment_count>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2006-09-19 17:15:48 -0700</bug_when>
    <thetext>This is Moxiecode&apos;s bug.  Browsing the source I don&apos;t see any calls to add an undo level in the Safari code paths.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55967</commentid>
    <comment_count>4</comment_count>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2006-09-19 17:20:20 -0700</bug_when>
    <thetext>Filed http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1561817&amp;group_id=103281&amp;atid=635682</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55968</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-09-19 17:32:09 -0700</bug_when>
    <thetext>This bug could be reopened as an evangelism bug.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>