I played around a bit and came up with a little demo.
http://zemox.tiddlyspot.com/#PE%3Aparagraph%20edit
Probably a bit more complicated than needed. But you can edit and
rearrange a list of sub-tiddlers.
If I were to make 1 addition it would be an editor toolbar.
On Saturday, April 7, 2018 at 11:05:45 PM UTC-4, zemoxian wrote:
> Here's a barebones template to start from:
>
>
> <$navigator story="PE:story" history="PE:history">
> {{$:/core/ui/Buttons/new-tiddler}}
> <$list filter="[list[PE:story]]" template="$:/core/ui/ViewTemplate"
> editTemplate="$:/core/ui/EditTemplate"
> emptyMessage={{$:/config/EmptyStoryMessage}} />
> </$navigator>
>
> You can create custom templates to replace $:/core/ui/EditTemplate and
> $:/core/ui/EditTemplate with simpler templates with the required
> functionality.
>
> For example the view template could be as simple as:
>
>
> <div>
> {{||$:/core/ui/Buttons/edit}}
> {{||move-up button}} {{||move-down button}}
> <div><$view field=title /></div>
> <div>
> <$transclude />
> </div>
> </div>
>
> The move-up and down buttons would allow you to move paragraphs or
> sections up and down.
>
> On Saturday, April 7, 2018 at 9:58:26 PM UTC-4, zemoxian wrote:
>
>> You could combine a navigator widget with a list widget and a couple of
>> templates to manipulate multiple tiddlers from one tiddler. This is
>> actually how the story works in the PageTemplate. I've done this in the
>> past while fiddling with stuff. The navigator widget handles manipulation
>> of the story tiddler by handling messages from buttons on the view and edit
>> templates for the sub tiddlers. You can create, edit, delete, save, etc.
>> You can also create buttons with list operations to sort or reorder the
>> tiddlers. (I.e. move up 1, move down 1, move to top, move to bottom, etc.)
>> So, it is possible to keep each sub tiddler as a single paragraph with its
>> own title, tags, and fields and reorder them as needed. It just depends on
>> what features you want for a particular story editing app. It is a little
>> tedious creating an app like this because you need to create the various
>> templates and buttons, etc.
>>
>> On Tuesday, April 3, 2018 at 12:46:29 PM UTC-4, Vytas wrote:
>>
>>> I think it is not that important, whether you segment one tiddler by its
>>> fields (if their content can indeed contain longer texts, links, images..),
>>> or by creating new tiddlers within the primary tiddler, AS LONG AS you have
>>> the ability to EDIT those segments within the edit-window of that primary
>>> tiddler.
>>>
>>> Indeed, if you are writing a coherent text, tagging separate paragraphs
>>> by excising those paragraphs into different tiddlers makes the editing very
>>> cumbersome: you have to jump to those new tiddlers to edit them and then
>>> come back to the primary tiddler to see the integral result.
>>>
>>
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/06f04c0d-c141-47dc-9ba6-f659871e549b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.