Not logged in. · Lost password · Register
Forum: General Help and Support Plugins Plugin Wishlist RSS
Plugin for mulitline unordered/ordered lists
Avatar
basto #1
Member since Mar 2009 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Plugin for mulitline unordered/ordered lists
I am looking for a plug in to convert selected multiline raw data into a list item having the line breaks converted to \\ .
This all should happen within the editor, by pressing a button, and the result should appear immediatly in the editor.

I have seen such an approach by using special syntax, but this is not what I am looking for.

Example:

this is raw data
in the editor.

After selection of both lines and pressing the new button, the editor window will show:
  • this is raw data\\ in the editor

Any idea/suggestion how to do this ?
Avatar
chi (Moderator) #2
Member since Jun 2006 · 1640 posts · Location: Munich Germany
Group memberships: Global Moderators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
The problem with this is: How should that "function" know that you want to have a new line instead of a second list item? If it should work like you want it will only create one liste item, regardless of how many lines you've select, it will convert them to \\.
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
Avatar
basto #3
Member since Mar 2009 · 2 posts
Group memberships: Members
Show profile · Link to this post
Quote by chi:
The problem with this is: How should that "function" know that you want to have a new line instead of a second list item? If it should work like you want it will only create one liste item, regardless of how many lines you've select, it will convert them to \\.

That is exactly what I want, one list item having the same line breaks *within* the list item as the selected raw data. This is usefull for restructuring text pasted from other applications.
Avatar
gamma #4
Member since Sep 2006 · 68 posts · Location: Berlin
Group memberships: Members
Show profile · Link to this post
I think this can be solved by using the box plugin:

  * <box 100%>Text Text Text

Text Text Text

Text Text Text</box>
  * <box 100%>Text2 Text2 Text2

Text2 Text2 Text2

Text2 Text2 Text2</box>
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20090606-dev, © 2003-8 by Yves Goergen
Current time: 2010-03-19, 17:54:59 (UTC +01:00)
WikiForumIRCBugsGitXRefTranslate