Ticket #206 (new defect)

Opened 2 years ago

Last modified 2 years ago

Issuses with paste from Notepad

Reported by: mr_lundis Owned by: jf.hovinne
Priority: minor Milestone: 1.x
Component: editor Version: trunk
Keywords: Cc:

Description

If you paste from notepad no matter whether it's in Chrome, Firefox or IE the paragraphs are all kooky.

First Copy & Paste bug is reproducible using:

  1. Ctrl+a (select all)
  2. Delete or backspace few times until the the editor is empty, so that there is not even empty paragraph.
  3. Paste several paragraphs from notepad (paragraphs are separated using one empty line between).

You get:

<div>para 1</div><div>para 2</div><div>para 3</div>...<p>para N</p>

So the last paragraph is pasted correctly but rest is inside div.

Second Copy & Paste bug is reproducible using:

  1. Go to first empty paragraph.
  2. Paste several paragraphs from notepad (paragraphs are separated using one empty line between).

You get:

<p><p>para 1</p><p>para 2</p><p>para 3</p>...<p>para N</p></p>

Both behaviors are obviously incorrect.

Reported by ciantic in:
 http://forum.wymeditor.org/forum/viewtopic.php?f=3&t=693#p2355

Change History

comment:1 Changed 2 years ago by mr_lundis

  • Priority changed from major to minor

comment:2 Changed 2 years ago by mr_lundis

  • Milestone changed from 0.5 to 1.x
Note: See TracTickets for help on using tickets.