For determining whether to show the preview pane there are two configurations: global or per tiddler. I’d like to know if it is possible to have a per tiddler type state? For example, when writing a javascript tiddler I don’t need a preview, so I’d like all javascript tiddlers to not have previews but other tiddlers to have.
I know I can rewrite the core tiddler that has this logic ( $:/core/ui/EditTemplate/body/default) but I’m wondering if it is possible to do it externally to the core plugin. Maybe catch navigation events to just-in-time write the global state tiddler?