• 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.

Item3980: NatEditContrib: Support numbered lists; support indent

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension NatEditContrib Enhancement Closed   n/a  

Edit Form Data

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

Detail

It would be nice to have support for numbered and regular bullets, with indent change. Left indent of top level bullet could change text into normal paragraph.

-- TWiki:Main/PeterThoeny - 27 Apr 2007

here's some javascript that I use to support numbered and bullet lists:

function natEditBulletButtonAction() {
  natInsertTags('\n   * ','\n','bullet list');
}
function natEditNumberButtonAction() {
  natInsertTags('\n   1 ','\n','numbered list');
}

I don't know much about javascript but it works for me. Not sure how to change the ident but that shouldn't be a problem for someone with js knowledge wink

-- TWiki:Main.CarloSchulz - 28 Apr 2007

We need more javascript as the user will expect to get more indenting when pressing on the list icon more than once.

-- TWiki:Main.MichaelDaum - 02 May 2007

At least the contrib should support bullets

Using bullets is on the top 3 of normal TML. Headers and WikiWords being 1 and 2. If the contrib does not support bullets - in the most plain simple fashion ie prefix current line with " * " then it has much less value.

As a starting point we could live with the feature just adding 3 spaces more in front of an already existing bullet. It is pretty obvious how to get back to plain text.

Bullets (and numbered bullets) is too basic to not be covered by this contrib at least in a simple form.

-- TWiki:Main.KennethLavrsen - 06 Jun 2007

Maybe code can be borrowed from MarkupEditorContrib?

-- TWiki:Main.JosMaccabiani - 06 Jun 2007

PS: Am I the only one who has to authenticate just to VIEW this page, and doesn't see a form attached? I'm on IE7.

-- TWiki:Main.JosMaccabiani - 06 Jun 2007

Been added quite some time ago.

-- TWiki:Main.MichaelDaum - 13 Feb 2008

ItemTemplate
Summary NatEditContrib: Support numbered lists; support indent
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4
SVN Range TWiki-4.1.2, Fri, 27 Apr 2007, build 13539
AppliesTo Extension
Component NatEditContrib
Priority Enhancement
CurrentState Closed
WaitingFor

Checkins TWikirev:16383
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-02-13 - MichaelDaum
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback