[pmwiki-users] PmToc and SectionEdit

Petko Yotov 5ko at 5ko.fr
Fri Nov 22 03:59:21 PST 2019

You can add to pub/css/local.css this line:

   div.sectionedit { float: right; }

Alternatively, if you have a wikifarm, to apply this to all fields, you 
can add in pmwiki/local/farmconfig.php:

   $HTMLStylesFmt['float-sectionedit'] = 'div.sectionedit { float: right; 

This is without any configuration, so I assume it is like 
$SectionEditHeaderLinkSpan = false;


If you upgrade :  http://www.pmwiki.org/Upgrades

On 22/11/2019 11:20, Johan Bengtsson wrote:
> I have tried using PmToc and SectionEdit together, and in general this
> works well. This is with the pmwiki-responsive skin and pmwiki
> 2.2.120.
> Two things that I have noticed:
> With $SectionEditHeaderLinkSpan = false;, when clicking on a link in 
> the toc
> I will end up just below the Edit link for the section, so if I want
> to click on it I will have to scroll up a bit.
> With $SectionEditHeaderLinkSpan = true;, the above problem is gone.
> But now "Edit" appears at the end of every link in the toc. Is there a
> way to prevent that?

More information about the pmwiki-users mailing list