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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9bc11053-30b5-45da-8954-c539f30607db%40googlegroups.com.

Reply via email to