X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/70384ae553df74967cdaa843f7470bd3125c4285..447f184f721a625e8647bb95aed7637902ceacf7:/doc/plugins/toggle/discussion.mdwn diff --git a/doc/plugins/toggle/discussion.mdwn b/doc/plugins/toggle/discussion.mdwn index e5713827d..e48eef5ba 100644 --- a/doc/plugins/toggle/discussion.mdwn +++ b/doc/plugins/toggle/discussion.mdwn @@ -1,7 +1,7 @@ -# Nested plugins +## Nested plugins Is it possible to use another plugin into your toggle plugin? For example, -I want to have toggleable table and try to use Victor Moral's table plugin, +I want to have toggleable table and try to use [[Victor Moral|users/victormoral]]'s [[table plugin|plugins/table]], but no success. How can I do it? --PTecza @@ -14,27 +14,30 @@ but no success. How can I do it? >> --PTecza -# Bug when followed by a heading +## [[bugs/Bug_when_toggling_in_a_preview_page]] -Ikiwiki fails to render the line break between *foo* and *bar* when the following is toggled on: +---- -[[toggle id="test" text="show"]] -[[toggleable id="test" text=""" - foo -"""]] +## Using toggle directives in a list item## +Take this code snippet. + * [[!toggle id="test" text="test"]] + [[!toggleable id="test text="""toggle"""]] -## bar +In the HTML-output the `ul` and `div` overlap. ---[[tschwinge]] +
+ + +

toggle

+ +
+ + -For some reason, this problem is not visible here. You can see the problem on -. -Scroll down to *Storage* and use the *SATA drives ...* toggle. --[[tschwinge]] +Fixing this manually the Javascript seems not to be working and `toggle` is shown unconditionally. -> This seems to be a bug in your wiki's style sheet. Download the page and -> view it without a stylesheet and the web browser renders it fine. --[[Joey]] - -# Bug when toggling in a preview page - -Moved to [[bug_when_toggling_in_a_preview_page]] --[[Joey]] +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