dokufreaks / plugin-include

A DokuWiki plugin for including other wiki pages into the current one.
http://www.dokuwiki.org/plugin:include
GNU General Public License v2.0
62 stars 54 forks source link

Setting showeditbtn to false breaks the original edit button #286

Open RealFoxie opened 2 years ago

RealFoxie commented 2 years ago

How to reproduce: set showeditbtn to false in the configuration.

Create a page with the following:

====== HEADER 1 ======
text
{{page>start:other_page}}
====== HEADER 2 ======
text that shouldn't be editable

and a page in start:other_page.

When pressing the edit button meant to edit HEADER 1, dokuwiki will instead show the editing page for HEADER 1 and everything under it (also HEADER 2). This should only show editting for HEADER 1, as the normal button for dokuwiki does.

Happens for any placement of the included section (above or below text).