You are here: Foswiki>Tasks Web>Item6054 (08 Jan 2009, KwangErnLiew)Edit Attach

Item6054: No longer possible to have a twisty on one line without linebreak

Priority: Normal
Current State: Closed
Released In:
Target Release: patch
Applies To: Extension
Component: TwistyPlugin
Reported By: TWiki:Main.ArthurClemens
Waiting For:
Last Change By: KwangErnLiew
div mode is hardcoded in the plugin (the line my $mode = $params->{'mode'} || $prefMode; is somehow gotten commented out.

-- TWiki:Main/ArthurClemens - 08 Oct 2008

I uncommented that line in my installation, and it didn't make a difference. I still couldn't render Twisties in-line.

-- TWiki:Main.ElliottAsh - 08 Oct 2008

It is not the only change I made. Please give it a try.

-- TWiki:Main.ArthurClemens - 08 Oct 2008

I tried it, to no avail: Here's my test topic:

-- TWiki:Main.ElliottAsh - 08 Oct 2008

This looks like another bug: if the twisty is on the first line it works ok, but further down in the topic it renders a linebreak (or div).

-- TWiki:Main.ArthurClemens - 09 Oct 2008

Changed the default rendering to span instead of div style="display:inline; (which appears to be buggy implemented by browsers).

When mode is set to div, the outer container is also written as div.

-- TWiki:Main.ArthurClemens - 10 Oct 2008

ItemTemplate edit

Summary No longer possible to have a twisty on one line without linebreak
ReportedBy TWiki:Main.ArthurClemens
SVN Range TWiki-5.0.0, Sun, 05 Oct 2008, build 17588
AppliesTo Extension
Component TwistyPlugin
Priority Normal
CurrentState Closed
Checkins TWikirev:17595 TWikirev:17596 TWikirev:17601 TWikirev:17602
TargetRelease patch
Topic revision: r13 - 08 Jan 2009, KwangErnLiew - This page was cached on 16 Sep 2021 - 16:30.

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