====== secedit2head Plugin ====== ---- plugin ---- description: Relocate section edit buttons to the header of the corresponding section author : Jef Shilt email : github@fortytwo-it.com type : lastupdate : 2024-03-30 compatible : Kaos depends : conflicts : similar : tags : page, section downloadurl: https://github.com/jefs42/secedit2head/zipball/main bugtracker : https://github.com/jefs42/secedit2head/issues sourcerepo : https://github.com/jefs42/secedit2head donationurl: screenshot_img : https://github.com/jefs42/secedit2head/raw/main/screenshots/after.png ---- ===== Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. ===== Examples/Usage ===== **Before** {{https://github.com/jefs42/secedit2head/raw/main/screenshots/before.png}} **After** {{https://github.com/jefs42/secedit2head/raw/main/screenshots/after.png}} ===== Configuration and Settings ===== None. The edit button elements keep the class names as before. So you may adjust userstyle.css or template styles as needed. **Note**: Since the button - text/icon - will now be //inside// an h1, h2, h... you may want to at least set a specific font size for consistency. For my use, I set a specific font size and adjust the margin from the default CSS: #dokuwiki__content.main-content .secedit:not([class*="plugin"]):not([class*="table"]) form div.no button { font-size: 1.2rem; margin-top: 0 !important; } === Changelog === {{rss>https://github.com/jefs42/secedit2head/commits/main.atom date 8}}