Do you want alternative editor fonts for different tiddlers?

20 views
Skip to first unread message

Charlie Veniot

unread,
May 15, 2023, 5:45:44 PM5/15/23
to TiddlyWiki
Modify the stylesheet tiddler so that it generates various editor styles for whatever groups of tiddlers.

Screenshot 2023-05-15 6.43.13 PM.png

Charlie Veniot

unread,
May 15, 2023, 5:49:30 PM5/15/23
to TiddlyWiki
Just another screenshot example:

Screenshot 2023-05-15 6.48.45 PM.png

Charlie Veniot

unread,
May 15, 2023, 6:21:31 PM5/15/23
to TiddlyWiki
If you want to try this at TiddlyWiki.com, create a new tiddler tagged with that "Stylesheet" tag like in the examples above, and put the following in the text of the tiddler (if viewing this post in Google Groups, ignore the triple-tick-marks):

```
[data-tags="Examples"] .tc-edit-texteditor-body { border: 1px solid blue; font-size:3em; font-family:Cursive; }```

Charlie Veniot

unread,
May 15, 2023, 11:38:34 PM5/15/23
to TiddlyWiki
Oops.  Ignore the border attribute in that last style sample because that attribute doesn't make any sense for tc-edit-texteditor-body.

Copy-paste from some other sample code, and I should have edited that out.

That said, you could replace it with something like "text-decoration: underline;" to make spaces easier to identify, and/or all kinds of other attributes as visual cue reminders.

Reply all
Reply to author
Forward
0 new messages