Item10668: Edit subsections too when editing a section

pencil
Priority: Enhancement
Current State: Waiting for Feedback
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: EditChapterPlugin
Branches:
Reported By: LeilaPearson JayenAshar
Waiting For: MichaelDaum
Last Change By: LeilaPearson
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
 

ItemTemplate edit

Summary Edit subsections too when editing a section
ReportedBy LeilaPearson JayenAshar
Codebase 1.0.9, trunk
SVN Range
AppliesTo Extension
Component EditChapterPlugin
Priority Enhancement
CurrentState Waiting for Feedback
WaitingFor MichaelDaum
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r4 - 18 May 2015, LeilaPearson
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy