Opened 11 years ago

Last modified 9 years ago

#11041 confirmed Bug

Search plugin doesn't scroll properly when there is only "BR content" in editor — at Version 2

Reported by: Thomas Nickl Owned by:
Priority: Normal Milestone:
Component: General Version: 3.4
Keywords: Cc:

Description (last modified by Jakub Ś)

Steps to reproduce:

  • mkdir ckeditor-bug
  • cd ckeditor-bug
  • wget http://download.cksource.com/CKEditor/CKEditor/CKEditor%204.2.2ckeditor_4.2.2_full.zip
  • unzip ckeditor_4.2.2_full.zip
  • Copy test.html from this ticket's attachment to here
  • Call up test.html in a browser
  • Click magnifying glass in toolbar to call up search.
  • Enter xxx into search box
  • Click "Search" button multiple times. xxx occurs twice in the text, at the beginning and in the middle. The cursor jumps around to the start and end of the text without ever showing the second occurance of xxx.

Edit:

  1. Put code from attached file in to editor.
  2. You can also write your own content but editor needs to be set to enter mode BR.
  3. Try to find 'xxx' or whatever word there is in your text and repeats throughout the content (there has to be few pages of content).

Result: Editor will match and select word but will not scroll to it correctly (This can be checked when you resize editor to match whole content).

Problem can be reproduced in all browsers from CKEditor 3.4

Change History (3)

Changed 11 years ago by Thomas Nickl

Attachment: test.html added

comment:1 Changed 11 years ago by Thomas Nickl

Environment:

  • Firefox 23.0.1
  • Fedora 19 64bit

comment:2 Changed 11 years ago by Jakub Ś

Description: modified (diff)
Keywords: search replace removed
Status: newconfirmed
Summary: Search dialog usage impossible. Cursor jumping to non-highlighted text section.Search plugin doesn't scroll properly when there is only "BR content" in editor
Version: 4.2.23.4
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