Ticket #689 (new Improvement)

Opened 3 years ago

Last modified 3 years ago

Cursor jumps to top of page after a paste

Reported by: pdc@… Owned by: somebody
Priority: Minor Milestone:
Component: Editing experience Version:
Keywords: Cc:

Description

[jira2trac import : issue created on January 9, 2009 5:07:54 PM CET http://issues.cocoondev.org/browse/DSY-689 ]

In the WYSIWYG editor, when you paste content into a page, the cursor jumps to the top of the document. Normal paste behavior is to leave the cursor at the point of paste. This behavior makes you have to find your own way back to that place in the document.

Change History

comment:1 Changed 3 years ago by paul

[jira2trac import : comment created by karel on April 8, 2009 3:27:55 PM CEST]

This only seems to happen in specific cases - the only one I found so far was by pasting content from an openoffice document.
Copying html from another browser window or from text editors works fine.

As a workaround you can first copy-paste the openoffice content into a text editor and then copy from the text editor to your browser - Your formatting gets lot of course

Workaround that preserves formatting (but probably costs more time than it saves you): copy-paste the content from openoffice to a NEW daisy document (scrolls, but that doesn't matter),
then copy-paste from your new daisy document to the document you were working on.

comment:2 Changed 3 years ago by paul

[jira2trac import : comment created by karel on April 8, 2009 4:04:26 PM CEST]

Upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=473255

I don't think we can do anything

comment:3 Changed 3 years ago by paul

[jira2trac import : comment created by karel on April 8, 2009 4:04:54 PM CEST]

Unassigning fix version, there is nothing we can do

comment:4 Changed 3 years ago by paul

[jira2trac import : comment created by davidhofmann on April 8, 2009 5:11:00 PM CEST]

Another behavior which might be related to this:
When pasting HTML formatted text (e.g. from Microsoft Word or OpenOffice?) and using the HTML Cleaner, a large paragraph with CSS styles appears at the top of the document. Apparently the handling of tags and their entity representation (> , <) was changed in FF3. Nothing can be done here either, if the conversion happens on the client side.

Note: See TracTickets for help on using tickets.