I am trying to: Add a link to some text in the WYSIWYG editor.
Link to a page where the issue can be seen:
Any Toolset WYSIWYG editor on several of the sites we host and have built.
I expected to see:
The ability to add a link by entering the link.
Instead, I got:
A page that I am always getting scrolled down to the bottom of and cannot add a link. Here is a video of what is happening: hidden link
First, I checked on my local site to verify that this should be working okay with current plugin versions, and found that it is (screenshot).
On your screen recording the WYSIWYG field doesn't look correctly formed, note the buttons for the visual and text tabs etc., so it appears something is preventing the field from initialising correctly (it is a complex field that uses the tinyMCE editor).
In its current state, do you see any errors in the browser console?
The likeliest explanation is a conflict from some 3rd-party code. There are no obvious suspects in your plugin list, so I would first test switching to a default theme like twentytwentyone, and check again. If the problem remains, try deactivating all plugins except for Types, and if the problem is resolved then it should be possible to identify the source of any conflict by a process of elimination.
We get the following in Console:
Refused to apply style from 'DOMAINHERE.com/wp-admin/load-styles.php?c=0&dir=ltr&load%5Bchunk_0%5D=editor-buttons&ver=6.3.2' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
We reinstalled WP 6.3.2 update and Toolset, and the issue changed to:
Failed to load resource: the server responded with a status of 404 (Not Found) DOMAINHERE.com/wp-admin/load-styles.php?c=0&dir=ltr&load%5Bchunk_0%5D=editor-buttons&ver=6.3.2
So I disabled all plugins but Toolset, and the issue was still there. So we also changed the theme to twentytwentythree and it is still the same error as above.
Hello. Thank you for contacting the Toolset support.
Can you please share problem URL where I can see the issue and admin access details and let me check whats going wrong with your setup.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I installed the duplicator package you shared on my local server and I found that I can use the link feature of WYSIWYG custom field without any issues and it works as expected.
I checked with first PHP version 8.0.x and then I switch the PHP version to 8.1.25 and with this version as well I found it working as expected.
Please check the following video:
- hidden link
There must be some conflict with your server cache or anything else as I could not able to see the issue with the duplicator package installed on my local machine. Can you please make sure you remove/delete server or browser cache if any and check. Even you can try to install your site using duplicator on different server that might give you better idea.