Item3995: NatEditContrib: Incompatibility with TWiki:Plugins/SectionalEditPlugin

pencil
Priority: Normal
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: Extension
Component: TWiki:Plugins/SectionalEditPlugin
Branches:
Reported By: TWiki:Main.MikkoLaakso
Waiting For:
Last Change By: MichaelDaum
TWiki:Plugins/NatEditContrib causes problems when used together with TWiki:Plugins/SectionalEditPlugin. It resizes the edittext-area incorrectly (especially with long pages = many sections), sometimes the textarea height is less than one line (e.g. 5px). TWiki:Plugins/NatEditContrib inserts inline style into the textarea, so this cannot be overridden by typical rows -setting with arrows under edittext-area (at least in Firefox).

Temporary fix is to override TWiki:Plugins/NatEditContrib template javascript in editsection.skin.tmpl , and use templatescript -definition from edit.skin.tmpl .

-- TWiki:Main/MikkoLaakso - 29 Apr 2007

This fix doesn't change anything for me. I am on T4.1.2, I modified my editsection.pattern.tmpl and editsection.natedit.tmpl file with code from my edit.tmpl (my edit.pattern.tmpl doesn't have a 'templatescript' variable, just a 'templatejavascript' variable.

Since editsection.natedit.tmpl doesn't have the templatescript variable, does it go at the top of the file?

-- TWiki:Main.EricHanson - 08 Jun 2007

There's a new plugin called EditChapterPlugin that is a rewrite from SectionalEditPlugin from scratch. This implements a subset of the features of SectionalEditPlugin, but with NatEditContrib, PatternSkin, NatSkin and TWiki-4.2 in mind. So anybody who wants a section editing feature a la mediawiki plus NatEditContrib, go with TWiki:Plugins/EditChapterPlugin.

This bug is recasted to SectionalEditPlugin for that reason.

-- TWiki:Main.MichaelDaum - 03 Jan 2008

Use EditChapterPlugin instead. Basically SectionalEditPlugin is unmaintained for quite some time now.

-- MichaelDaum - 07 Jan 2009

ItemTemplate edit

Summary NatEditContrib: Incompatibility with TWiki:Plugins/SectionalEditPlugin
ReportedBy TWiki:Main.MikkoLaakso
Codebase
SVN Range TWiki-4.1.2, Fri, 27 Apr 2007, build 13539
AppliesTo Extension
Component TWiki:Plugins/SectionalEditPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r4 - 07 Jan 2009, MichaelDaum
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