Opened 11 years ago

Last modified 11 years ago

#10779 confirmed Bug

Autogrow: Editor does not scroll to end of pasted content

Reported by: Teresa Monahan Owned by:
Priority: Normal Milestone:
Component: General Version: 3.4.3
Keywords: IBM Cc: Satya Minnekanti, Irina

Description

To Reproduce:

  • Using the autogrow sample, paste the following HTML into Source view:
    <ul>
      <li>1</li><li>2</li><li>3</li><li>4</li><li>5</li><li>6</li>	<li>7</li><li>8</li><li>9</li><li>10</li>
    </ul>
    
  • Switch to wysiwyg mode and copy all contents
  • Place the cursor at the end of the contents and use Ctrl+V to paste multiple times.

Problem: The editor does not scroll to the end of the pasted content. The cursor is in the correct location because if you type some text after pasting, the editor does scroll to the bottom of the contents. However the editor should scroll to this position automatically after the paste event.

I have tried this with FF, IE and Chrome and can reproduce it on all 3 browsers.

Attachments (1)

autogrow_paste.gif (53.0 KB) - added by Teresa Monahan 11 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 11 years ago by Jakub Ś

Status: newpending
Version: 4.2.1

I have just tried all 3 browsers you have mentioned and all seem to work fine. I have tried git verison.

  1. Please tell me if you have used git version or e.g. standard preset with autogrow?
  2. Perhaps there is something missing in 3 steps you have mentioned?
  3. Perhaps there are some extra plugins you have download with preset and influence this behaviour?

comment:2 in reply to:  1 Changed 11 years ago by Teresa Monahan

Replying to j.swiderski:

For some reason, the autogrow sample is not available on the nightly builds. Therefore I instead used the autogrow sample from the master branch on git to reproduce this issue (plugins/autogrow/samples/autogrow.html). I do not have any custom config settings or any extra plugins loaded. I can still easily reproduce it on all 3 browsers using the steps provided.

I have attached a screen capture to show the result in Chrome. In this case, the 1st time I paste the content, the browser does not scroll to the end of the content. However when I start typing the browser scrolls to display the full editor contents and the characters I type are inserted in the correct location.

Changed 11 years ago by Teresa Monahan

Attachment: autogrow_paste.gif added

comment:3 Changed 11 years ago by Jakub Ś

Status: pendingconfirmed
Version: 3.4.3

No I can see it - parent page (not editor) doesn't scroll to the bottom of pasted content. Problem can be reproduced from CKEditor 3.4.3 in both CKE 3.x and 4.x.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy