So, some more exploration it looks like tc-editor-toolbar is added in 
EditTextWidget.prototype.render 
which adds the div before the edit text widget. So maybe a check should be 
made if in preview mode and if so add it to the parent's parent ? Is this 
something I can override or requires a fix in the core code? 

On Sunday, 2 February 2020 11:27:39 UTC+2, Ittay Dror wrote:
>
> Sorry if the question I have is not phrased with the proper terms. 
>
> I'd like to have the 'tc-editor-toolbar' div have a sticky position. This 
> works when it is under tc-reveal, but when I use preview, it gets 
> transcluded under tc-tiddler-preview. 
>
> What is the best way to have it stay under tc-reveal when preview mode is 
> on? I understand transclusion happens in $:/core/ui/EditTemplate/body, 
> should I override it? How? Maybe have some other code move it in place 
> after the transclusion? Again, how? 
>
> (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? )
>

-- 
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/a1a39a89-4e9c-4715-9581-5351f9a0c893%40googlegroups.com.

Reply via email to