Pasting rich text into a tiddler

455 views
Skip to first unread message

Anthony Muscio

unread,
Aug 7, 2008, 11:08:22 PM8/7/08
to TiddlyWiki
Folks,

Does anyone know how I may be able to paste something copied with the
windows edit copy command that is rich text into a tiddler such that
it is formatted to tiddly wikis RTF format ?

Even an intermediate converter would be helpful, eg; copy, past into
other tool, get conversion paste into tiddly wiki.

Thanks in advance TonyM

JLB

unread,
Aug 8, 2008, 12:41:09 AM8/8/08
to Tiddl...@googlegroups.com
What is 'tiddly wikis RTF format' ? Do you mean just keeping the text
formatting? In which case put {{{ above and }}} below the first and
last lines.
JL
JLiki - creating your own genealogy wiki
http://www3.telus.net/Jgen/jliki.html

Anthony Muscio

unread,
Aug 8, 2008, 12:49:52 AM8/8/08
to Tiddl...@googlegroups.com
Wiki formatting eg;

__underline__
''bold''
*bullets
**deeper bullet

etc...

As appears in say text prepared in windows WORDPAD.

This formatting carries over (using cut/paste) to other applications that understand the format characters in the clipboard data.

Notepad.exe does not, so you loose the formatting, nor does a tiddler/web text input field, but then you can manually apply all the wiki formatting to get it back.

Perhaps a HTML intermediate will help.

Anthony Muscio

wolfgang

unread,
Aug 8, 2008, 3:45:26 AM8/8/08
to TiddlyWiki
Hi Anthony,

FCKEditorPlugin allows to paste .doc formatted text and saves it as
html formatting in the tiddler:

http://visualtw.ouvaton.org/VisualTW.html#FCKeditorPlugin

Regards,

W.

Anthony Muscio

unread,
Aug 8, 2008, 5:55:53 AM8/8/08
to Tiddl...@googlegroups.com
Thanks,

However despite all the various possibilities including firefox plugins none seems to accept tables within text as copied from Outlook or wordpad.

I know I can use tools to create tables with pasted text but none seem to do the whole thing, RTF formats and tables.

Pitty
Thanks Tony M
--
Anthony Muscio

Ken Girard

unread,
Aug 8, 2008, 6:50:40 PM8/8/08
to TiddlyWiki
The following will convert a table copied from Excel or Word into TW
format... mostly. It only handles simple tables, and has this annoying
habit of putting an extra | between each row. But even so it is much
faster then doing it all from scratch.

!Paste a table from Excel into the text area below

<html><p align="center"><textarea id="xclToTw" rows="10" cols="60"></
textarea><br><button onclick="(function(){var
ta=document.getElementById('xclToTw'); displayMessage('original: ' +
ta.value); ta.value=ta.value.replace(/^|$|\t/gm, '|');})();" >
Translate</button></p></html>

Or at least it does in IE6. Not sure about FireFox.

Ken Girard

On Aug 8, 4:55 am, "Anthony Muscio" <anthony.mus...@gmail.com> wrote:
> Thanks,
>
> However despite all the various possibilities including firefox plugins none
> seems to accept tables within text as copied from Outlook or wordpad.
>
> I know I can use tools to create tables with pasted text but none seem to do
> the whole thing, RTF formats and tables.
>
> Pitty
> Thanks Tony M
>
Reply all
Reply to author
Forward
0 new messages