You are here: Foswiki>Tasks Web>Item3127 (06 Jan 2015, GeorgeClark)Edit Attach

You %INCLUDE% some text which is subject to some manipulation, say by a plugin; e.g., TWiki:Plugins.SectionalEditPlugin may indicate that the last section of the included topic is editable. However, once the text is included, we have no more visibility what that last section was, as it now extends into the including text (same for the first section). But if we want to edit that section properly, we need to know where to stop, as otherwise half of the text is in the including topic, and half in the included topic. How can one sensibly edit that together?

This whole business about included topics is still a big mess. There actually is a stack of topics that results from inclusion which must be maintained to properly handle context. All that is gone after the commonTagsHandler.

Any plugin that needs to know the real topic that text came from (e.g., when editing it) and must operate after the commonTagsHandler is forced to recreate that topic stack somehow).

For some more detail and a solution to most of these issues, please see TWiki:Codev.NeedBeforeIncludeHandler.


Setting to No Action. This is from an old TWiki proposal.

-- GeorgeClark - 06 Jan 2015

ItemTemplate edit

Summary Included text not properly delineated in including topic
ReportedBy TWiki:Main.ThomasWeigert
Codebase
SVN Range TWiki-4.1, Thu, 09 Nov 2006, build 11947
AppliesTo Engine
Component FoswikiPluginsAPI
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r6 - 06 Jan 2015, GeorgeClark - This page was cached on 16 Apr 2024 - 08:10.

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