Item11815: Bulleted list - continue with normal - bug in the WYSIWYG

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: TinyMCEPlugin
Branches:
Reported By: JozefMojzis
Waiting For:
Last Change By: CrawfordCurrie

Bulleted list continue bug in the Webkit based browsers

Make an empty topic, What will contain only:
Some text
   * [[WebHome][bulleted link]]

screenshot 03.jpg

Save it, and press EDIT again... You will get:

screenshot 04.jpg

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:

screenshot 06.jpg

The bug appear only in the Webkit based browsers (tested on Safari only), when start typing get something like this:

screenshot 07.jpg

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
 

ItemTemplate edit

Summary Bulleted list - continue with normal - bug in the WYSIWYG
ReportedBy JozefMojzis
Codebase 1.1.5, trunk
SVN Range
AppliesTo Extension
Component TinyMCEPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
I Attachment Action Size Date Who Comment
screenshot_03.jpgjpg screenshot_03.jpg manage 13 K 03 May 2012 - 19:45 JozefMojzis  
screenshot_04.jpgjpg screenshot_04.jpg manage 22 K 03 May 2012 - 19:48 JozefMojzis  
screenshot_06.jpgjpg screenshot_06.jpg manage 23 K 03 May 2012 - 19:54 JozefMojzis  
screenshot_07.jpgjpg screenshot_07.jpg manage 23 K 03 May 2012 - 19:57 JozefMojzis  
Topic revision: r6 - 24 Mar 2017, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy