From 72e074d8958e36b4859f28f0996bed42c71d9cb0 Mon Sep 17 00:00:00 2001 From: PaulePanter Date: Tue, 12 May 2009 10:13:07 -0400 Subject: question or bug regarding toggle and list item --- doc/plugins/toggle/discussion.mdwn | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'doc/plugins/toggle') diff --git a/doc/plugins/toggle/discussion.mdwn b/doc/plugins/toggle/discussion.mdwn index 5426a62fc..ac22e7eb6 100644 --- a/doc/plugins/toggle/discussion.mdwn +++ b/doc/plugins/toggle/discussion.mdwn @@ -15,3 +15,29 @@ but no success. How can I do it? ## [[bugs/Bug_when_toggling_in_a_preview_page]] + +---- + +## Using toggle directives in a list item## +Take this code snippet. + + * [[!toggle id="test" text="test"]] + [[!toggleable id="test text="""toggle"""]] + +In the HTML-output the `ul` and `div` overlap. + +
+ + +

toggle

+ +
+ + + +Fixing this manually the Javascript seems not to be working and `toggle` is shown unconditionally. + +I do not know if this is due to [[shortcomming with nested preprocessor directives|todo/nested_preprocessor_directives]] you mentioned in the beginning of this page. Maybe a note could be added to the main page of the plugin. --Paul -- cgit v1.2.3