Table of Contents

secedit2head Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" yes
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" unknown

plugin Relocate section edit buttons to the header of the corresponding section

Last updated on
2024-03-30
Provides
CSS/JS-only
Repository
Source

Tagged with page, section

Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Examples/Usage

Before After

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