You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Christoph Sauer (JIRA)" <ji...@apache.org> on 2007/12/18 17:15:42 UTC

[jira] Created: (JSPWIKI-111) TableOfContents Plugin does not clear

TableOfContents Plugin does not clear
-------------------------------------

                 Key: JSPWIKI-111
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-111
             Project: JSPWiki
          Issue Type: Bug
          Components: Plugins
    Affects Versions: 2.6.0
            Reporter: Christoph Sauer
            Priority: Minor


If you use text directly after the TableOfContents plugin, that is not a heading, this text will be displayed right beside the TOC instead below. Seems like a css clear is missing? (don't want to touch the css though)

<<TableOfContents>>

This text is displayed wrong (right beside the TOC)

== Heading 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-111) TableOfContents Plugin does not clear

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12555174 ] 

Janne Jalkanen commented on JSPWIKI-111:
----------------------------------------

Hmm... I think this is design - the way we're doing it allows you to have e.g. an image next to it.  Dirk?

> TableOfContents Plugin does not clear
> -------------------------------------
>
>                 Key: JSPWIKI-111
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-111
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions: 2.6.0
>            Reporter: Christoph Sauer
>            Priority: Minor
>
> If you use text directly after the TableOfContents plugin, that is not a heading, this text will be displayed right beside the TOC instead below. Seems like a css clear is missing? (don't want to touch the css though)
> <<TableOfContents>>
> This text is displayed wrong (right beside the TOC)
> == Heading 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-111) TableOfContents Plugin does not clear

Posted by "Dirk Frederickx (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12555182 ] 

Dirk Frederickx commented on JSPWIKI-111:
-----------------------------------------

This is indeed by design. (introduced rather late in v2.5.xx)

TOC's are floated left, and only clear left-positioned blocks. (css:  float:left; clear:left; )

This is done to allow them to be aligned next to %%commentbox's, which are floated right.  (check out http://www.jspwiki.org/wiki/JSPWikiDownload  to see the effect)

If you don't want text to float next to the TOC, insert a forced line-break (\\) which has a 'clear:both'  css style.

Typically, a TableOfContents would be followed by a header line (!, !! or !!!) which would automatically clear the line.



> TableOfContents Plugin does not clear
> -------------------------------------
>
>                 Key: JSPWIKI-111
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-111
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions: 2.6.0
>            Reporter: Christoph Sauer
>            Assignee: Dirk Frederickx
>            Priority: Minor
>
> If you use text directly after the TableOfContents plugin, that is not a heading, this text will be displayed right beside the TOC instead below. Seems like a css clear is missing? (don't want to touch the css though)
> <<TableOfContents>>
> This text is displayed wrong (right beside the TOC)
> == Heading 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (JSPWIKI-111) TableOfContents Plugin does not clear

Posted by "Dirk Frederickx (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dirk Frederickx closed JSPWIKI-111.
-----------------------------------

    Resolution: Won't Fix

ref comment

> TableOfContents Plugin does not clear
> -------------------------------------
>
>                 Key: JSPWIKI-111
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-111
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions: 2.6.0
>            Reporter: Christoph Sauer
>            Assignee: Dirk Frederickx
>            Priority: Minor
>
> If you use text directly after the TableOfContents plugin, that is not a heading, this text will be displayed right beside the TOC instead below. Seems like a css clear is missing? (don't want to touch the css though)
> <<TableOfContents>>
> This text is displayed wrong (right beside the TOC)
> == Heading 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.