2008-07-03 17:41:36 +02:00
## Nested plugins
2007-05-30 20:52:42 +02:00
Is it possible to use another plugin into your toggle plugin? For example,
2009-05-17 17:09:37 +02:00
I want to have toggleable table and try to use [[Victor Moral|users/victormoral]]'s [[table plugin|plugins/table]],
2007-05-30 20:52:42 +02:00
but no success. How can I do it?
2007-05-30 21:03:22 +02:00
--PTecza
> Yes, you can nest preprocessor directives. However, due to the issues
> discussed [[here|todo/nested_preprocessor_directives]], it's not
> currently supported to nest multiple levels of the same quotes.
> --[[Joey]]
2007-05-30 23:11:30 +02:00
>> Thanks a lot for the fast reply, Joey! It's good to know it.
2007-10-29 20:18:57 +01:00
>> --PTecza
2008-07-03 17:41:36 +02:00
## [[bugs/Bug_when_toggling_in_a_preview_page]]
2009-05-12 16:13:07 +02:00
----
## 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.
<div id="content">
<ul>
<li><a class="toggle" href="#test.test">test</a>
<div class="toggleable" id="test.-test"></li>
</ul>
<p>toggle</p>
</div>
</div>
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