ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
9.37k stars 3.68k forks source link

Replace word having bug (Find and replace functionality) #16336

Open DeepeshTecholution opened 4 months ago

DeepeshTecholution commented 4 months ago

📝 Provide detailed reproduction steps (if any)

If we replace some word with Just appending some letter at the end for ex: Replacing "test" with "testt" or that search text is more than 1 time in same paragraph then its keep on changing first found match, instead of moving to next match

Steps to reproduce bug

  1. keep same word twice in one paragraph
  2. search for that word and put replace word Just appending some letter at the end example : Replacing "test" with "testt"
  3. click replace

✔️ Expected result

Keep on replacing and moving to next match

What is the expected result of the above steps?

❌ Actual result

just replacing first found match again and again

https://github.com/ckeditor/ckeditor5/assets/138117661/8abe7c8a-32a7-4e77-b90e-514e973c36ca

Please help me out to fix this I have used find and replace functionality in my project

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

karangarg218 commented 4 months ago

Can i start work on this assign it to me

karangarg218 commented 4 months ago

image replace all is working fine