Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page jumps to redactor top after inserting entry link #344

Open
jripmeester opened this issue Oct 23, 2021 · 8 comments
Open

Page jumps to redactor top after inserting entry link #344

jripmeester opened this issue Oct 23, 2021 · 8 comments
Labels

Comments

@jripmeester
Copy link

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
Copy link
Author

Did anybody had time to have a look at this?

@andris-sevcenko
Copy link
Contributor

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

@andris-sevcenko
Copy link
Contributor

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

@jripmeester
Copy link
Author

Thanks for fixing Andris!

@brandonkelly
Copy link
Member

Redactor 2.9.0 is out now with this fix.

@brandonkelly
Copy link
Member

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 brandonkelly reopened this Apr 26, 2022
@jripmeester
Copy link
Author

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

@jripmeester
Copy link
Author

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants