You are here: Foswiki>Tasks Web>Item10986 (05 Jul 2015, GeorgeClark)Edit Attach

Item10986: Use of indented TWISTY breaks page formating and places LeftBar on right side of screen.

pencil
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Extension
Component: Documentation, TwistyPlugin
Branches: trunk
Reported By: TuckerKern
Waiting For:
Last Change By: GeorgeClark
Creating an indented Twisty breaks page formatting causing the LeftBar to move to the right hand side of the page. More specifically I was attempting to place a Twisty of a verbatim block underneath a bullet point and wished to retain the indentation, when this bug occurred.

-- TuckerKern - 18 Jul 2011

Could you provide a code example please?

-- ArthurClemens - 21 Jul 2011

   1 Ordered lists are cool.
   1 Part of ordered list. %TWISTY{}% This twistys breaks the page.
%ENDTWISTY%
This also has the same effect
   1 %TWISTY{}% Broken twisty
%ENDTWISTY%
-- TuckerKern - 27 Jul 2011

This can be expected. The TML renders:
  1. A list
  2. Opening of a Twisty div inside a list item
  3. End of the list
  4. Closing of the Twisty div

Instead use:
   1 Ordered lists are cool.
   1 Part of ordered list. %TWISTY{}% This twisty does not break the page. %ENDTWISTY%

-- ArthurClemens - 27 Jul 2011

Interesting. The above example worked like a charm, and continued to work once I placed my contents within it, despite the line breaks within it. Thanks!

-- TuckerKern - 02 Aug 2011

I should be better, if it was documented wink (other test : TwistyTest

-- GuilainCabannes - 24 Mar 2014

I'm reopening this and changing it to confirmed. Guilain points out that it should be documented better. The Twisty documentation doesn't mention use of Twisties within lists, or the restrictions in layout.

-- GeorgeClark - 25 Mar 2014

I am trying use a "custom" twisty that moves the left bar to the right side of the page. For example the below text moves the webs to the right but if I remove the indent, its fine. *

    • Test
    • Test
      • Test
      • Test
    • Test
      • Test

-- NathanJulian - 06 Jul 2014
 

ItemTemplate edit

Summary Use of indented TWISTY breaks page formating and places LeftBar on right side of screen.
ReportedBy TuckerKern
Codebase 1.1.9, 1.1.3, trunk
SVN Range
AppliesTo Extension
Component Documentation, TwistyPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:edae8a863e97
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches trunk
trunkCheckins distro:edae8a863e97
Release01x01Checkins
Topic revision: r11 - 05 Jul 2015, GeorgeClark - This page was cached on 28 Jun 2016 - 20:40.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License