#2103: Unstable editing with blockquote and formatted text
------------------------+---------------------------------------------------
  Reporter:  geirhelge  |       Owner:               
      Type:  Bug        |      Status:  new          
  Priority:  Normal     |   Milestone:               
 Component:  General    |     Version:  FCKeditor 2.6
Resolution:             |    Keywords:               
------------------------+---------------------------------------------------
Old description:

> We're having a problem when using blockquote and formatted text. After
> we've been writing a couple of paragraphs and starts to edit the text,
> line breaks are removed where it shouldn't and wrong characters are
> removed. I'm reporting this in the same bug since it might be just two
> ways to reproduce the same bug.
>
> Both examples are reproduced in version 2.5.1 and 2.6 with Firefox
> 2.0.0.13 on Ubuntu and Windows XP. I've not been able to reproduce the
> bug in IE 6 or 7.
>
> '''Line breaks that are removed'''
> How to reproduce:
> 1. Click blockquote and select format "formatted"
> 2. Type
> a
> a
> a
> 3. Hit enter two times creating a paragraph
> 4. Type
> b
> b
> b
> 5. Hit enter two times creating a paragraph
> 6. Type
> c
> c
> c
> 7. Hit CTRL+Z, hit enter once and type
> c
> 8. Move the cursor in front of the last b
> 9. Hit backspace
>
> The last b is placed after the second b, that's good, but at the same
> time the
> last c is placed after the second c.
>
> '''Wrong character deleted'''
> 1. Click blockquote and select format "formatted"
> 2. type "asdf" hit enter two times and type "hjkl"
> 3. Move the marker at the beginning of the line with "hjkl"
> 4. Hit backspace two times in order to move "hjkl" on the same line as
> "asdf"
>
> Result:
> One hit on backspace removes the empty line, the next removes the "f" and
> if
> you continue the whole line with "asdf" will be deleted.
>
> What I'd expected:
> The string "hjkl" to be moved at the end of "asdf"

New description:

 We're having a problem when using blockquote and formatted text. After
 we've been writing a couple of paragraphs and starts to edit the text,
 line breaks are removed where it shouldn't and wrong characters are
 removed. I'm reporting this in the same bug since it might be just two
 ways to reproduce the same bug.

 Both examples are reproduced in version 2.5.1 and 2.6 with Firefox
 2.0.0.13 on Ubuntu and Windows XP. I've not been able to reproduce the bug
 in IE 6 or 7.

 '''Line breaks that are removed'''
 How to reproduce:
  1. Click blockquote and select format "formatted"
  2. Type
 {{{
 a
 a
 a
 }}}
  3. Hit enter two times creating a paragraph
  4. Type
 {{{
 b
 b
 b
 }}}
  5. Hit enter two times creating a paragraph
  6. Type
 {{{
 c
 c
 c
 }}}
  7. Hit CTRL+Z, hit enter once and type
 {{{
 c
 }}}
  8. Move the cursor in front of the last b
  9. Hit backspace

 The last b is placed after the second b, that's good, but at the same time
 the
 last c is placed after the second c.

 '''Wrong character deleted'''
  1. Click blockquote and select format "formatted"
  2. type "asdf" hit enter two times and type "hjkl"
  3. Move the marker at the beginning of the line with "hjkl"
  4. Hit backspace two times in order to move "hjkl" on the same line as
 "asdf"

 Result:
 One hit on backspace removes the empty line, the next removes the "f" and
 if
 you continue the whole line with "asdf" will be deleted.

 What I'd expected:
 The string "hjkl" to be moved at the end of "asdf"

Comment (by martinkou):

 Tidied up the description.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2103#comment:2>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
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