Hi Ton,

First, thanks for replying, since I remembered vaguely there's an 
exploration plugin somewhere and couldn't find it and visiting your site I 
found it, it is now installed, so thank you!. 

More inline

On Sunday, 2 February 2020 14:03:10 UTC+2, Ton Gerner wrote:
>
> The problem with the sticky editor is well known. See e.g. [1]
> As far as I know the problem stems from the fact that the editor is used 
> in an iFrame. See e.g. [2]
>

Well, in chrome, if I move the tc-editor-toolbar div outside of the 
tc-tiddler-preview div, then it works as expected. I think this is just a 
case of it being part of the editor tiddler and then the preview tiddler 
transcludes the editor tiddler as a whole rather than (if possible) 
separating the edit pane from whatever else is in that tiddler. The 
relevant code that creates tc-editor-toolbar is in EditTextWidget in 
$:/core/modules/editor/factory.js (which I couldn't locate in your explorer 
preset filters) and the creation of the preview div is 
in $:/core/ui/EditTemplate/body (which I couldn't find in your explorer 
preset filters either), which transcludes 
$:/core/ui/EditTemplate/body/editor

I don't know what I can/should override and what I cannot. But if I can't 
override, is there a way to run after the widget rendered (or any other 
suitable hook) to fix the dom? 

 

> Another problem is that (caused by the iFrame) bookmarklets don't work 
> (they work with the editor toolbar switched off!)
> I created a small toolbar (below the tags) for e.g. toggling the editor 
> toolbar on/off, preview on/off, scrollable preview on/off.
> See the tab Code tiddlers at 'My playground' at [3]
>

Installed it, 'scrollable preview' doesn't seem to change anything? Am I 
missing something? 
 

>  
>
>> (For future reference, how can I see the code of shadow tiddlers? Finding 
>> them on github is tedious and in TiddlyWiki I see them as empty. Maybe 
>> there's a plugin that allows exploration of other plugins that are 
>> installed? )
>>
>
> See [3] under the tabs Guides > Exploration and under the tab Plugins > 
> Exploration.
>
> Cheers,
>
> Ton
>
> [1] 
> https://groups.google.com/forum/#!msg/tiddlywiki/QcKMCNWeRpY/m5sPjM2TAwAJ
> [2] 
> https://groups.google.com/forum/#!msg/tiddlywiki/5TInPo-HidU/8-9Oi4q-EAAJ
> [3] http://tongerner.tiddlyspot.com/
>  
>

-- 
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/61f068f5-4b8e-43ae-8119-497da54c9722%40googlegroups.com.

Reply via email to