redactor icon indicating copy to clipboard operation
redactor copied to clipboard

Page jumps to redactor top after inserting entry link

Open jripmeester opened this issue 4 years ago • 8 comments
trafficstars

Description

Our clients works with long texts in their redactor fields. After inserting a link to an entry somewhere in the middle of the text the page jumps to the top of the redactor field. This doesn't happen when inserting a url link.

Steps to reproduce

1.Create a matrix block with a redactor field in it. 2.Create a new a entry and enter a big amount of text into the redactor field. 3.Create a link to an other entry. 4.After selecting an entry, the page jumps up to the top of the redactor field.

Additional info

Our redactor field is inside a matrix field.

  • Craft version: 3.6.17
  • PHP version: 7.4
  • Database driver & version: MariaDB
  • Plugins & versions: Redactor 2.8.8

jripmeester avatar Oct 23 '21 14:10 jripmeester

Did anybody had time to have a look at this?

jripmeester avatar Dec 01 '21 15:12 jripmeester

Sorry, hadn't had the time to circle back to Redactor issues yet.

andris-sevcenko avatar Dec 02 '21 08:12 andris-sevcenko

Thanks for reporting this. Just fixed it for the next release due next week!

andris-sevcenko avatar Jan 28 '22 14:01 andris-sevcenko

Thanks for fixing Andris!

jripmeester avatar Jan 28 '22 19:01 jripmeester

Redactor 2.9.0 is out now with this fix.

brandonkelly avatar Jan 31 '22 15:01 brandonkelly

The fix for this ended up causing a more serious bug (#384), so it has been reverted as of 2.10.7. Reopening this until we have a chance to come up with a better fix.

brandonkelly avatar Apr 26 '22 18:04 brandonkelly

Please have a look at this again. Our clients are experiencing this a lot.

jripmeester avatar Jul 20 '22 08:07 jripmeester

Any update on this?

jripmeester avatar Aug 30 '22 08:08 jripmeester