The reason it doesn't work with other kinds of text is because when you drag and drop, the dropped text contains the original in HTML. Which means it doesn't match any of the actual text inside the original tiddler. To fix this, the HTML is wikified back to text, which can be compared to the original text in the tiddler IF the text isn't formatted.
Possibly a way to make the approach more universal would be to convert the text in the tiddler to HTML. But most people (I assume) aren't using HTML in their tiddlers. To make the approach work with wikitext, we need a html-to-wikitext converter so that the dropped text can be converted back to wikitext, compared, and replaced. On Friday, December 25, 2020 at 12:12:20 PM UTC-8 Mat wrote: > Mark - whoa! That is a good step towards a view mode work-interface. If > the limitations you point out are removed, including access to the original > tiddler title, I think it would be a pracitcal way to postpone splitting up > texts into smaller ones (i.e into tiddlers) until it is actually needed. > The current TW workflow where we need to estimate if something needs to be > a tiddler, probably over-tiddlifies things. > > <:-) > On Monday, December 21, 2020 at 5:14:22 PM UTC+1 Mark S. wrote: > >> TW already has excision, but you have to be in edit mode and there are >> several speed bumps that make it somewhat messy to use. >> >> This is an example project that demonstrates using drag-and-drop to >> replace text with excerpts that can then be displayed with your own >> template. >> >> This could be useful is you are studying text, and want to excerpt >> portions for quotes or for cross-linking with other tiddlers. >> >> Caveats. >> >> - This is for 5.1.23-prerelease only. >> - Any other tiddler in the story river that contains the same text >> will have it's text replaced also. This is why excerpts are tagged with >> "Excerpt" so they won't be double-processed. >> - Only works with simple unformatted text. >> - To make it work with TW's linefeeds, the """ markup is applied to >> the top of each excerpt. >> - Possibly only works on Mondays. Or on solstices. >> >> >> >> >> > -- 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/61112bbe-c5e0-4759-b0d0-7c2ed45db53dn%40googlegroups.com.

