• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4811: Multiline noautolink sections are no longer noautolinked after TMCE edit/save

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TinyMCEPlugin Urgent Closed   minor  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


See the initial details on the bug item 4800:
  1. http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item4800?rev=2
  2. http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item4800?rev=3
In revision 2, I've surrounded the whole text with <noautolink> ... </noautolink> to avoid linking of all those module and Manager names. I *guess that CC has used TMCE to create revision 3, because I could reproduce the behaviour: As visible on TMCE editing, and goint permanent after save, the <noautolink> ... </noautolink> is only applied to the first paragraph, instead of the whole list. For copypasting:

A paragraph to show that
   * NoAutoLink will no longer
   * NoAutolink

when editing with TMCE.

-- TWiki:Main/HaraldJoerg - 13 Oct 2007

The problem is that the TML2HTML translator uses a span to delimit noautolink sections. in this case, that span contains block HTML - P, UL etc. When the browser sees that, it decides to close the span before the first block element. At least, Firefox does, there's no guessing what other browsers do. The same problem is going to affect literal.

Because HTML has no generic contained, the translator need to generate a div if there are block-level elements within it. I have no idea how to do that at the moment (context-sensitivities are not the translator's strong point).

Confirmed and raised to Urgent.

-- TWiki:Main.CrawfordCurrie - 14 Oct 2007

On Item4831 you gave a clue: noautolink is different from literal because it is considered "palatable":

  • ... we also consider NOAUTOLINK palatable, even though it isn't HTML, because it will be used later in the rendering process to generate a span

Simply removing it from the list has consequences on the UI, but maybe is acceptable: =<noautolink> tags will be shown in WYSIWYG edit, but it is still possible to mark new noautolink section using the NOAUTOLINK style.

And hey, the translator will even join adjacent noautolink sections!

-- TWiki:Main.HaraldJoerg - 16 Oct 2007

indeed, and that is exactly the solution I used. smile


Summary Multiline noautolink sections are no longer noautolinked after TMCE edit/save
ReportedBy TWiki:Main.HaraldJoerg
Codebase 4.2.0
SVN Range TWiki-4.3.0, Fri, 12 Oct 2007, build 15261
AppliesTo Extension
Component TinyMCEPlugin
Priority Urgent
CurrentState Closed

Checkins TWikirev:15324 TWikirev:15325 TWikirev:15326 TWikirev:15327
TargetRelease minor

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r9 - 2007-10-18 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback