Thanks so much Tony, I didn't think of using a tool that would preserve the 
HTML formatting. I'll give that a try. I honestly can't write long-form 
content in TiddlyWiki. For short notes, it's fine. But when I write long 
notes (thousands of words), the writing experience is not comfortable. So I 
write in Roam or Google Docs, but when I paste these into TiddlyWiki the 
formatting is all gone and it's quite tedious to add the paragraphs back.


On Sunday, May 10, 2020 at 2:35:15 AM UTC+1, TonyM wrote:
>
> Anne-Laure.
>
> This becomes an issue for all tiddlywiki users eventually for many when 
> typing, or in your case importing text. I believe it is a product of the 
> way wikitext need to cohabit with widgets and other code. I and mario were 
> recently looking at "dot paragraphs" where placing a period at the 
> beginning of a line would turn it into a paragraph   `<p>` when rendered. I 
> was about to revisit where we were on this. With a line based Editor 
> toolbar button to add a period at the beginning of every line in 
> highlighted text, This method can be used to rapidly transform imported 
> text, that comes in the forms of lines rather than paragraphs when pasted. 
> It has the advantage of also collapsing extra blank lines.
>
> I believe there may be options in the tools one uses to copy and paste 
> that will use double line breaks when pasting a paragraph.
>
> Depending on your final use of the text you capture from elsewhere and 
> whether you intend to edit it. you can get a browser tool to copy as html 
> from the source, and paste this html it tiddlywiki thus retaining much of 
> its original structure.
>
> We could also make an editor toolbar button that wraps every (all or 
> selected) lines in `<p>` but these will remain in the text in edit mode.
>
> Try these things and let us know if you want to explore this in more 
> detail.
>
> Regards
> tony
>
>
> On Sunday, May 10, 2020 at 10:26:44 AM UTC+10, 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/09690b97-2af5-43e6-9a75-d696a79bfbca%40googlegroups.com.

Reply via email to