Skip Navigation

[Resolved] Insert/Edit Link button causes the page to scroll to the bottom

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 10 replies, has 1 voice.

Last updated by Minesh 2 weeks, 3 days ago.

Assisted by: Minesh.

Author
Posts
#2824685
image (6).png

When a logged-in user tries to edit their profile in Toolset Forms, clicking the Insert/Edit Link button causes the page to scroll to the bottom repeatedly and they get stuck , leaving the user stuck.

#2824948

Christopher Amirian
Supporter

Languages: English (English )

Hi,

Welcome to Toolset support. From the screenshot you shared, that link button is not part of Toolset.

Please follow the steps below to know which plugin or theme causes the problem.

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except:
. Toolset Types
. Toolset Blocks
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

#2825047

It is part of the built in WYSIWYG text editor. No doubt you are using a third party (TinyMCE) for this but it is definitely part of Toolset. In this case it is part of a post form where users can edit their profile but unfortunately is not working and clicking on the link icon leads to the user being stuck and unable to edit anything else on the page.

Looks very similar to this https://toolset.com/forums/topic/link-option-in-wysiwyg-tinymce-field-doesnt-work/

#2825065

OK I think I see the problem. The "Quicktag" buttons in the top row are for the Code view only but are showing in the Visual view.

#2825160

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Christopher is on vacation. This is Minesh here and I'm happy to help you further if required. I hope this is OK.

Are you able to reproduce the issue? If yes, can I have clear step by step information that should help me to reproduce the issue.

#2825170

Yes I am able to reproduce this with all plugins except the core ones disabled and the 2020 theme.

Looks like similar to https://core.trac.wordpress.org/ticket/62450

#2825185

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

As I understand - if the issue belongs to WordPress core - you will have to wait for the fix provided by them. Is there any thing related to Toolset?

#2825188

It's not entirely core but the interaction between core and Toolset. It directly impacts the WYSWIG editor in front end forms which is a feature provided by / built into Toolset. I'm only providing the link for context.

#2825201

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Here is a sandbox site and you can auto-login to it using the following link:
- hidden link

Here is the link to edit post form where there is WYSIWYG field available at top namely "Gym Content":
- hidden link

I tried to click on the link button but I do not see the behavior you are talking about.

Can you please try to check and try to reproduce the same issue with the above sandbox site and share what I'm missing.

#2825203

OK resolved. Caused by WordPress hardening blocking PHP execution in wp-includes and wp-content/uploads directories. This is however a fairly common hosting configuration so there should probably be a fallback to prevent this.

#2825289

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Glad to know that the issue is resolved.

Can you can please share steps or solution you used that help you to resolve this issue so it can help other users.