• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6765: ExplicitNumberingPlugin 1.6 and EditChapterPlugin 1.2 don't work together.

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension EditChapterPlugin, ExplicitNumberingPlugin Normal New   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

When both the ExplicitNumberPlugin (rev 1.6) and the EditChapterPlugin (rev 1.2) are installed, the css for the EditChapterPlugin in ./pub/TWiki/EditChapterPlugin/ecpstyles.css has:

.ecpHeading {
  display:block;
}

which splits the header line so it looks like:


1.
A header line


rather than


1. A header line


Changing the css to:

.ecpHeading {
  display:inline;
}

fixes the problem of the split heading. I have to admit that I am not sure why it is set to a block display anyway. The only place it should show up in inside <H[1-6]> headers that are already in block display format IIRC. Note that inline is already used for:

.twikiToc .ecpHeading {
  display:inline;
}

If changing it to inline display everywhere is deemed incorrect, the following css will restrict the inline mode only to .ecpHeading class is a direct child of one of the H1 ... H6 headers:

H1 > .ecpHeading, H2 > .ecpHeading, H3 > .ecpHeading,
H4 > .ecpHeading, H5 > .ecpHeading, H6 > .ecpHeading {
   display:inline
}

which also solves the issue.

Note that the failure is evident in the TWiki/ExplicitNumberingPlugin documentation page as well as when used in a topic normally.

-- TWiki:Main/JohnRouillard - 2011-07-04

ItemTemplate
Summary ExplicitNumberingPlugin 1.6 and EditChapterPlugin 1.2 don't work together.
ReportedBy TWiki:Main.JohnRouillard
Codebase 4.3.1
SVN Range TWiki-5.1.0-trunk, Mon, 13 Jun 2011, build 21497
AppliesTo Extension
Component EditChapterPlugin, ExplicitNumberingPlugin
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic revision: r1 - 2011-07-04 - JohnRouillard
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback