Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#485 closed defect (fixed)

New plugin - PasteText removes all formatting except paragraphs and tabs

Reported by: mharrisonline Owned by: gogo
Priority: normal Milestone:
Component: Plugin_Other Version:
Severity: normal Keywords: paste, plain text, tab
Cc:

Description

I needed a very simple popup window that I could paste overly formatted Word documents into that would convert linefeeds to paragraph tags, tab characters into 5 non-breaking spaces, but eliminate other formatting. I always hate it when I paste in a document and all the new lines are breaks instead of paragraphs. This makes every new line a paragraph, ready for bullets, CSS, etc.

The icon is a clipboard with a page showing a big T that perfectly matches the current XINHA icon for paste. In IE it appears after the paste button, in Firefox it appears after the killword button.

Attachments (1)

PasteText.zip (2.2 KB) - added by mharrisonline 14 years ago.
New plugin that provides a text box to paste into, removes all formatting except tab and paragraphs

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by mharrisonline

New plugin that provides a text box to paste into, removes all formatting except tab and paragraphs

comment:1 Changed 14 years ago by mharrisonline

Is there any chance that this could be checked in?

comment:2 Changed 14 years ago by niko

  • Resolution set to fixed
  • Status changed from new to closed

commited in changeset:334

(i modified the addToolbarElement-call a bit, you can give as 2nd parameter an array - so you don't need the if(is_ie))

michael, you could ask gogo for an svn-account if you don't have one yet - you could then commit you stuff yourselve :D

comment:3 Changed 14 years ago by mharrisonline

Thanks Niko!

Note: See TracTickets for help on using tickets.