Item11815: Bulleted list - continue with normal - bug in the WYSIWYG
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Bulleted list continue bug in the Webkit based browsers
Make an empty topic, What will contain only:
Some text
* [[WebHome][bulleted link]]
Save it, and press EDIT again... You will get:
Now, when want continue with normal text, so place cursor at the end of bulleted list, and pressing ENTER TWICE (so, 1st time will get another bullet, and the second ENTER will clear the empty bullet and will start the "normal" text, like this:
The bug appear only in the Webkit based browsers (tested on Safari only), when start typing get something like this:
and when check the code, you will seen:
Some text
* [[WebHome][bulleted link]]
<font color="#0000ff"><u>Typed text like a hyperlink</u></font>
In the Firefox is OK.
--
JozefMojzis - 03 May 2012
Confirmed - And also tested with TMCE 3.4.9 - recreated there as well.
--
GeorgeClark - 03 May 2012
The issue is in the Wysiwyg code. From IRC:
(04:22:56 PM) gac410: jomo, Actually 11815 is probably fixable by Foswiki. The new code (in trunk) is supposed to render links as true <a ...> links, AH... I see the problem.
(04:23:17 PM) gac410: [[Main.WebHome]] is rendered as colored text, so closing the link doesn't break the style.
(04:23:44 PM) jomo: yes, just tested the bullet-bug in the http://www.tinymce.com/tryit/full.php - and not shown.. so it is the FW-bug..
(04:23:46 PM) gac410: In 1.2 [[Main.WebHome][Main.WebHome]] - ie providing linktext - renders it as a real link.
(04:24:54 PM) gac410: And if I create a real link <a href="Main.WebHome">Main.WebHome</a> ... then the save converts it to a [[]] link with link text.
(04:25:47 PM) gac410: So for 1.2, needs a couple of tweaks. If no link text, use the Web.Topic as the text. And then if Link text == link, on save, convert back to [[]] style link.
(04:35:14 PM) gac410: Definitely TMCE as well. From an HTML editing perspective, what it's doing is continuing the SPAN attributes after the newline.
(04:35:49 PM) gac410: <li><span class="WYSIWYG_LINK">Main.WebHome</span></li>
(04:35:49 PM) gac410: </ul>
(04:35:49 PM) gac410: <div><font color="#0000ff"><u>asdf</u></font></div>
--
GeorgeClark - 03 May 2012
This is almost completely addressed by fixes to
Item11089 for rendering TML links as html links. The one case that still fails is a list item with a spaced link, for example:
* [[Web Home]]
--
GeorgeClark - 05 May 2012
Works fine for me on 4.5.3, so closing.
--
Main.CrawfordCurrie - 24 Mar 2017 - 15:55