Si,

Good, I hoped it would be helpful.

Tones

On Tuesday, 18 May 2021 at 02:54:28 UTC+10 si wrote:

> Hi Tones
>
> >>> If you place hide in a tiddler named  
> $:/config/EditTemplateFields/Visibility/fieldname it will not appear as a 
> row in the edit fields.
>
> I was going to look up how to do this but you got there ahead of me - 
> thanks!
>
> >>> Attached is a macro I am quite proud off, it allows the addition of a 
> local-viewtemplate field on any tiddler
>
> Thanks for sharing. This concept will be very useful when I add a 
> "summary" or "description" field to some of my tiddlers.
> On Monday, 17 May 2021 at 05:12:54 UTC+1 TW Tones wrote:
>
>> Si,
>>
>> Just to back this up it is possible, there may be some issues saving on 
>> node (untested). 
>>
>> However All you have to do is hide the additional text field and not edit 
>> it in the Edit View fields.
>>
>> If you place hide in a tiddler named  
>> $:/config/EditTemplateFields/Visibility/fieldname it will not appear as a 
>> row in the edit fields.
>>
>> Attached is a macro I am quite proud off, it allows the addition of a 
>> local-viewtemplate field on any tiddler, However its not yet being polished 
>> for publishing. just add the fieldname local-viewtemplate to any tiddler 
>> and an additional edit area is available in edit view, the content is 
>> applied to this tiddler only when in the view tiddler mode.
>>
>> This makes it easy to test prototype changes to the view template without 
>> actually changing the shared global one and much more.
>>
>> Tones
>>
>> On Monday, 17 May 2021 at 06:44:51 UTC+10 si wrote:
>>
>>> Thanks a lot Mario and Saq, that's exactly what I needed to know. I 
>>> don't intent to edit any of these fields, so I should be OK, but I'll have 
>>> a think about whether it will be more sensible to use JSON. Thanks again.
>>>
>>> On Sunday, 16 May 2021 at 15:12:19 UTC+1 PMario wrote:
>>>
>>>> On Sunday, May 16, 2021 at 2:07:17 PM UTC+2 si wrote:
>>>>
>>>>> My question is more about whether this matters when copying content 
>>>>> from the text of a tiddler into a different field.
>>>>>
>>>>
>>>> The HTML spec says this:  https://html.spec.whatwg.org/#attributes ... 
>>>> There is no restriction on the text, that can be put into a attribute 
>>>> value. .. BUT it has to be HTML escaped. ... As your screenshot shows. 
>>>>  
>>>> BUT .. The problem is the TW UI. 
>>>>
>>>> If you copy text from the text-field with javascript into a field, you 
>>>> can add whitespace to the field. If you use a text area, you can also add 
>>>> whitespace eg: newLines. ... BUT if you edit a field in tiddler-edit-mode, 
>>>> with the single-line editor, all the NewLines and other whitespace will be 
>>>> removed. 
>>>>
>>>> So that's the real problem here.
>>>>
>>>> -mario
>>>>
>>>>

-- 
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/f14b96b2-1e7e-4659-bfa2-636e32adacc5n%40googlegroups.com.

Reply via email to