Item10986: Use of indented TWISTY breaks page formating and places LeftBar on right side of screen.
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Extension
Component: Documentation,
TwistyPlugin
Branches: trunk
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:
- A list
- Opening of a Twisty div inside a list item
- End of the list
- 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
(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.
*
--
NathanJulian - 06 Jul 2014