Confiforms wyswyg editor for automatic detection of URL

Jay Moon March 23, 2024

I love everything about confiforms and I use it for many workflow in my team. One biggest trouble is wyswyg editor. In confluence page, like email tools, note app, it automatically detect URL and create link. This is not the case for wyswyg editor. I know I can use editor to attach links for a given URL text but this is cumbersome. When I copy and paste texts from other tools, wyswyg takes them correctly, maintaining format. But when typing directly in wyswyg editor, it doesn’t. HTML editing within wyswyg editor can do all but this is not the efficient way. I am really hoping confluence style editor available for confiforms. There are many occasions I have to drop confiforms in the flow due to this one problem. 

2 answers

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 23, 2024

Hi @Jay Moon 

Since version 3.9.0 of ConfiForms we have introduced a new WYSIWYG editor with support for auto-links, basic tables and more

(also available in ConfiForms cloud, of course)

Probably you are on an older version of the plugin, at the moment?

Alex

Jay Moon March 23, 2024

That's great to hear. It is possible we have older version. How can I check the version? Thanks again, Alex. 

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 23, 2024
Jay Moon March 23, 2024

Thanks. I found our installation is using 3.5.4. I will follow up with confluence admin to install newer version and try out. Thanks again. 

Jay Moon September 4, 2024

Alex, we upgraded to 3.11.4 and auto URL detection seems to work. This is great. However, when we have custom URL such as sth://somethingelse, somehow, it converts to https://ourcompanyconfluenceurlsth://somethingelse. This is bizarre. Even when I edited in http code to put manual link, it converts to above. 

Other weird behavior I found is that when I type "https://www.google.com" and save, it doesn't convert but only when I added more empty lines after link. This happens for the last URL entry. 

Any advice is appreciated. Thanks. 

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 4, 2024

When I test the link as you mentioned I get something like

<p><a href="sth://somethingelse" target="_blank">sth://somethingelse</a></p><p><br></p>

(when looking at the HTML code)

Alex 

Jay Moon September 4, 2024

Alex, thanks for testing it out. It seems working for you. I also see same HTML code while editing but after I save the form, it converts to what I mentioned above. I plan to talk to IT team in my company if any of their setup is causing this. I may comeback here with more question. Thank you again. 

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 5, 2024

Oh, you know, after testing this a bit more we see that the contents gets somehow sanitized by the editor itself. We are looking to see if this behaviour can be changed

Jay Moon September 5, 2024

Thanks, Alex. Please keep this thread updated after your investigation. Thanks for your attention. 

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 6, 2024

We have found the issue and will fix it shortly, the fix will be included in ConfiForms version 3.12.3 and onwards

Jay Moon September 9, 2024

Alex, I also want you to check the following issue. 

When I type https://www.google.com (then space), it converts to URL in the editor but when I saved it, it removes URL but saves as 

<p>https://www.google.com&nbsp;</p>

This works well only if I added additional line when I saved it. 

0 votes
Jay Moon March 23, 2024

In my company, not only https, but also many custom url like sth://somethingelse, opening related tools. This works well (automatic clickable link) in confluence pages but I have to create link in wyswyg editor manually. Hope my description makes sense. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events