Opened 10 years ago

Last modified 9 years ago

#11041 confirmed Bug

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

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
  • unzip
  • 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.


  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

Attachments (1)

test.html (13.4 KB) - added by Thomas Nickl 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Thomas Nickl

Attachment: test.html added

comment:1 Changed 10 years ago by Thomas Nickl


  • Firefox 23.0.1
  • Fedora 19 64bit

comment:2 Changed 10 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

comment:3 Changed 9 years ago by Thomas Nickl


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