You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#114567 Problem setting up a link

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by stevetheweb on Thursday, 07 September 2023 15:20 BST

stevetheweb
Hi, I have a problem with inserting links.

I use JCE editor on a website, latest version, Joomla 4 latest version.

I write a series of words which I then have to link to an external link.
Then I select the sentence, click on the button to insert the link, insert the link with opening in new page, and then insert.

It happens that the phrase is repeated twice.

This happens on a Windows PC, I've tried to simulate it from my workstation with different browsers, but it doesn't happen to me, but I've seen what happens on the editing PC.

Is it a cross browsing problem?
What suggestions can I provide?

Attachments

stevetheweb
In the meantime, while waiting for a response, they are informing me that the same problem seems to appear on three different PCs.

Ryan
Do you have the latest version of JCE Pro installed, currently 2.9.41? - https://www.joomlacontenteditor.net/downloads/editor/pro/latest

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

stevetheweb
Yes, as I wrote, latest version of JCE and latest version of Joomla. I've seen this problem before, but I've never given it weight and I don't understand what it could be related to. Whether it's a memory issue, a cross browsing issue or whatever

Ryan
Which browser(s) are your users using?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

stevetheweb
1 PC:
Windows 10 Pro
Chrome Versione 116.0.5845.141 (Build ufficiale) (a 64 bit)

2 PC:
Windows 10 Pro
Firefox

Ryan
I write a series of words which I then have to link to an external link.
Then I select the sentence, click on the button to insert the link, insert the link with opening in new page, and then insert.


Do these words contain any formatting before you create the link?

When you open the link dialog, what is the value in the Text field?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

stevetheweb
This is what happens:

https://app.screencast.com/VmFlUBtvmSJ2s

As you can see, the text value is clean, and doubles

Ryan
In the Editor Global Configuration, what is the Container Element & Enter Key option set to?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

stevetheweb
It's set to "paragraph : paragraph".

Ryan
Can you confirm that this only occurs when the selected text to create the link on includes a space at the end?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

stevetheweb
Great, I just did a test, trying to put a space at the end of a string of words, and I tried, in fact it doubled the words.

So the problem is here?

Ryan
[quotePost id="114619"]Great, I just did a test, trying to put a space at the end of a string of words, and I tried, in fact it doubled the words.

So the problem is here?[/quotePost]

Yes, thank you. I am working on it now, but until a fix is released, perhaps you can instruct your clients to attempt to make the selection without the space?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

stevetheweb
Thanks

Ryan
Please try JCE Pro 2.9.42 Beta - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Clear the browser cache after install.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

stevetheweb
HI Ryan,
I tried the beta version in a test area where the latest version of JCE demonstrated, with space, the same problem.

I installed the beta, and repeated the link insertion test, I confirm that now it no longer happens, even if I deliberately insert a space after the last word, select all the text including the space, insert the link, it is removed space and words are not repeated.

Thank you