Item10668: Edit subsections too when editing a section
Priority: Enhancement
Current State: Needs Developer
Released In: n/a
Target Release: n/a
At least a couple people here love this plugin, but find it frustrating that subsections are not included when editing a section of a document. I noticed at least one other user commented on the same thing here:
http://foswiki.org/Tasks/Item9830
I'm wondering if we can change this behavior. If backwards-compatibility is a concern, we could make it a plugin setting instead of default behavior.
To be more specific (quoting
AndreasKeil):
---+ Topic Heading
---++ Section A
Foo
---+++ Subsection A.1
Bar
---+++ Subsection A.2
Baz
In this case, I would personally prefer that if a click on "Section A" it would let me edit the whole content of "Section A", including its two subsections. But the current implementation of the plugin lets me edit the "Section A" heading and the "Foo" text only. Compare this to MediaWiki's behavior of allowing the whole content of a heading to be edited.
--
LeilaPearson - 21 Apr 2011
That's sensible thing to do. Not sure how hard it would be to implement. Any ideas?
--
MichaelDaum - 22 Apr 2011
depends on how chapters are extracted. if the start of the chapter is
/^(---\++) /
then the end could be the next
/^$1 /
(or end of the topic, whichever comes first).
--
JayenAshar - 28 Jan 2012