Hello,

I am not sure if this can be done or if this is purely browser-dictated 
functionality but ...

I have been converting over large volumes of plain text (or largely 
unformatted html) regulations from a website that are organized into 
Section Headings + Section Paragraph on a new line.

In looking for the best way to automagically and efficiently create a 
single tiddler per section, I have tried various methods in Chrome:

1)  Pasting the clipboard into the main TiddlyWiki screen
- opens up the import tiddler with a prompt to import an "Untitled" tiddler
- resulting tiddler is full html code of copied text with lots of html tags
- not ideal for tiddlywikification but really good WYSIWYG if that is what 
you want

2) Open up a new tiddler in editing mode and paste text into title field
- html and line breaks are stripped out and entire plain text content of 
clipboard is pasted into title field
- makes for a *looooong* tiddler title and clobbers all line break 
formatting so you can't just re-cut and paste what you didn't want to be 
title

3) Open up a new tiddler and paste text into text field
- strips out html and pastes all text including line breaks into text field
- clean up requires a few extra line breaks here and assigning a title ... 
usually cut and pasting first line of pasted text into the title field
- this option worked the best

Option 3 was fairly efficient but having to switch field and re-cut and 
paste gets a little time-consuming when you are talking about 100's or 
sections.

What would work best ... at least for what I was doing and I think in a 
more general sense ... would be when you had a new tiddler open, pasting in 
the title would take the first line of text as the title and overflow the 
rest into the text field. Optionally, it could just keep the first line of 
text as the title and then discard the rest. That would set up the 
efficient work-flow of just cutting one and pasting twice and getting 
mostly the correct output with two keystrokes (paste twice) and two mouse 
clicks (click to change field focus and to save tiddler).

For the pasting->import Option 1) it would be nice to have a bit of control 
as to how it is imported ... a checkbox to preserve formatting (like 
exists) or not (like Method 2 or 3) ... and also to modify the title before 
importing. Right now, if you paste multiple things and import them, the 
Untitled tiddler just gets over-written multiple times with no warning.

Does this sound like a useful change in default behaviour in general for 
those using TiddlyWiki? Or is my use-case pretty specialized?

/Mike

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to