I'm sure someone will come along with a better solution. This will replace
single line feeds with <p/> paragraph breaks. Unfortunately, this means
your original text will actually be physically more mangled than it started
-- I have no way to generate a literal carriage return. Be sure to make
backups if you try this.
Name of tiddler: <$edit-text tiddler="$:/temp/convertme" size="20" tag=
"input" placeholder="Tiddler to convert" default="Sample"/>
<$vars br="<br/>" par="<p/>" title={{$:/temp/convertme}} >
<$button>Add line feeds
<$list filter="[<title>get[text]splitregexp[\n]join<par>]">
<$action-setfield $tiddler=<<title>> $field="text" $value=<<currentTiddler>>
/>
</$list>
</$button>
</$vars>
On Saturday, May 9, 2020 at 5:26:44 PM UTC-7, Anne-Laure Le Cunff wrote:
>
> Hey everyone!
>
> I often have to paste long content from other sources (Google Doc, Roam,
> email) into TW and it just lumps everything together. No more paragraphs,
> formatting or anything, just a massive blob of text.
>
> Is there a way to fix this?
>
> Thank you!
> Anne-Laure.
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/71d70253-2f6c-4bbf-8fa2-616f58ba7470%40googlegroups.com.