Anchor Function in TinyMCE Not Working in FireFox
3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 19, 2014 (RSS)
By In-House-Logic - February 13, 2014 - edited: February 14, 2014
I've just seen a problem on a single site. TinyMCE is not allowing me to add a link properly. Most often it just omits the href="stuff.html" property. When you then highlight the same text, the Edit LInk and Unlink buttons are greyed out an non-responsive.
Seems to be only on one site. It was running 2.17 but we've now updated to 2.5.2 - same issue after clearing the cache, etc. Chrome working fine - FireFox only.
Any ideas?
UPDATE: Installed the replacement TinyMCE library suggested for IE11 issues and found no change. However, while testing I did find that I could enter any URL into the field _except_ the URL for the site itself. Other sites would occasionally work - but never the host URL. <scratches head and looked bemused>
Next Day: Updated FireFox. No change.
Hi In-house-logic,
I've done some local testing in Firefox, and was able to recreate the issue. If you create a link and enter a full url to another site, for example:
Then the WYSIWYG will leave the link as it is. But if you enter a link to a local link, for example if I had CMS Builder installed on example.com:
http://www.example.com/apage.html
It will change the link to be absolute:
/apage.html
The bug seems to be if you link to the base of the site:
You end up with a broken link button, and the only way to remove the link is to edit the html manually.
You can get around this by linking to your homepage using a relative url:
/
I'll look into this bug and see if there is a fix that has been implemented into TinyMCE. If you'd like, you can disable the conversion of URL's to be absolute using this post:
http://www.interactivetools.com/forum/forum-posts.php?postNum=2230080#post2230080
Thanks!
Greg
PHP Programmer - interactivetools.com
Thank you, Greg! I was starting to think I had gone even further round the bend.
Your suggestion will be workable for now but will look forward to any further info you might dig up.
Cheers,
J.