Also, since I am a bit of a newbie to TiddlyWiki, I would be grateful if
you could explain/define RAW tags on tiddlers, and how to use them. For
example, if I wanted to add a javaScript alert (ie <script>alert('this is
an alert')</script>) that fired on page load, how would I do it with these
RAW tags?
On Thursday, January 21, 2021 at 8:41:12 PM UTC-5 Finn Lancaster wrote:
> Sure @TW Tones. I'm adding the following lines to the HTML file:
> <script>localStorage.setItem('tw5-password-github','GITHUB PAT');</script>.
> I have added them to various places, both inside and outside the DOM (ie
> <head>, <body>, before and after </html>). This works perfectly by
> displaying the localStorage value when I type localStorage in console. When
> I edit some stuff and then save it to github, when I go back the
> localStorage will be cleared. On Github, the message "Saved by TiddlyWiki"
> is shown under commits, and the raw source code does not show the modified
> localStorage attributes.
>
> On Thursday, January 21, 2021 at 8:21:19 PM UTC-5 TW Tones wrote:
>
>> I think you need to describe this with a little more details.
>>
>> The tiddlywiki save process saves the html according to a template and
>> filters, if you alter the html file by other means it may not matter when
>> it goes to save, it will save as it is setup to.
>>
>> Perhaps if you explain what if anything, you are changing in the html file
>> It is common to introduce other code to the tiddlywiki using additional
>> RAW tags on tiddlers.
>>
>> Tones
>>
>> On Friday, 22 January 2021 at 12:00:13 UTC+11 [email protected] wrote:
>>
>>> Hi all,
>>> As some of you know, I have been working on a TiddlyWiki Collaboration
>>> script. Basically, the script works by being hosted from Github Pages, and
>>> calling the file straight from github to display, showing each of the
>>> recent changes. This main described functionality works perfectly, except
>>> that, when saved to github, the index.html file storing tiddlywiki is
>>> deleted and remade with the changes, meaning that any additional html I
>>> have added onto the file for the collab to work is gone. In short, this
>>> breaks it after the first use, and I'm stuck on what to do.
>>>
>>
--
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/dbe60f7f-2049-47ee-850d-54308b3e2471n%40googlegroups.com.