| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
| |
internallink's output <a> tag gets a new attribute, data-wiki-id, so that
jQuery doesn't need to parse the various link format to get the ID.
Any plugin javascript that loads after DokuWiki's script should be able to
discover curid class as usual, as long as they use the default js.php
facility.
fixes #1511, fixes #2968.
|
|
|
|
|
|
| |
attr
Related to #1546.
|
|
|
|
|
| |
- ACL's hand-written template doesn't use div.content to wrap the footnote content
- jQuery object existence check should use $obj.length
|
| |
|
|
|
|
| |
adds aria handling to makeToggle and allows to supress it in dw_toggle
|
| |
|
|
|
|
| |
the elements being highlighted & later remove it
|
|
|
|
|
|
| |
This fixes the section edit highlighting when the start marker (normally
a heading) is inside other HTML elements like a div from the wrap
plugin.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Instead of a dedicated function to toggle the TOC we now have a function
that allows to use this functionality everywhere. This will be used to
toggle the sidebar in the mobile view (in an upcoming patch).
Note, this required some changes to the CSS (to make it more generic).
The CSS is still located in the TOC sections but should probably be
moved into its own section instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Attention: Template authors need to adjust their CSS!
Original structure:
div.toc >
div#toc__header.tocheader.toctoggle > span#toc__toggle.toc_close|toc_open > span
div#toc__inside > ul.toc > li.level1 > div.li > span.li > a.toc
New structure:
div#dw__toc.open|close >
h3 > strong > span
ul.toc > li.toc > div.li > a
|
|
|
|
| |
div.dokuwiki to just .dokuwiki (some templates have the class in the body)
|
| |
|
|
|
|
|
| |
* <sup> elements are only removed from the start of a footnote
* the TOC wrapper instantly gets the target size to reduce layout jumping
|
| |
|
| |
|
| |
|
|
yeah, yeah I know...
|