[tw] Re: Using Custom Font in Tiddler Editor

2018-01-29 Thread Ton Gerner
Hi,

Actually, I can't use the hotkeys when I disable the bar. Is there a way 
> around this?
>

Yes, use the KeyboardSnippets plugin 
 fom Danielo Rodriguez
  

> Also, is there a way to extra just the directory tree functionality from 
> your left+top bar plugin? I want a site navigation tool with a tree 
> structure. 
>

Have a look at my guide A top menu and left menu 
 which describes in more detail the Top 
+ left menu plugin.

Cheers,

Ton

My 'playground': 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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/29fa696c-1f34-4890-a788-01479ce6dc23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using Custom Font in Tiddler Editor

2018-01-29 Thread h0p3
Actually, I can't use the hotkeys when I disable the bar. Is there a way 
around this? 

Also, is there a way to extra just the directory tree functionality from 
your left+top bar plugin? I want a site navigation tool with a tree 
structure. 


On Sunday, January 28, 2018 at 2:06:22 PM UTC-5, Ton Gerner wrote:
>
> Hi,
>
> I played with your MTC and found the following:
>
> 1) A 'normal' font (I tried Comic Sans MS so it was easy to see) works for 
> editing 
> 2) An embedded font (your Zing font) does not work for editing (as you 
> already found)
> 2a) but when you switch off the editor toolbar, it works!
>
> This means that an embedded font gives problems when combined with the 
> editor with editor toolbar (note that in that case the editor is an 
> iframe!).
>
> The style for the editor is given in $:/themes/tiddlywiki/vanilla/base
>
> .tc-tiddler-frame input.tc-edit-texteditor,
> .tc-tiddler-frame textarea.tc-edit-texteditor,
> .tc-tiddler-frame iframe.tc-edit-texteditor {
> padding: 3px 3px 3px 3px;
> border: 1px solid <>;
> background-color: <>;
> line-height: 1.3em;
> -webkit-appearance: none;
> font-family: {{$:/themes/tiddlywiki/vanilla/settings/editorfontfamily
> }};
> }
>
> The rendered version of $:/themes/tiddlywiki/vanilla/base shows your Zing 
> font as font-family.
> Prefixing these styles with html or html-body didn't help.
>
> To be honest I do not have an explanation why it does not work with the 
> iframe editor.
> Maybe someone else can help you.
>
> If you can live without the editor toolbar, it works as expected.
> In that case (and for testing) you can use my Editor toolbar checkbox + 
> preview button. Drag & drop the attached json file to your wiki.
>
> Cheers,
>
> Ton
>
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4d88d49a-d0c0-44a9-8883-8322b2abdf16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using Custom Font in Tiddler Editor

2018-01-28 Thread h0p3
You are awesome, thank you! I use the hotkeys anyways, so losing the bar is 
a price I'm willing to pay. Thank you for toying with this and giving me a 
nifty hack to make it work. 



On Sunday, January 28, 2018 at 2:06:22 PM UTC-5, Ton Gerner wrote:
>
> Hi,
>
> I played with your MTC and found the following:
>
> 1) A 'normal' font (I tried Comic Sans MS so it was easy to see) works for 
> editing 
> 2) An embedded font (your Zing font) does not work for editing (as you 
> already found)
> 2a) but when you switch off the editor toolbar, it works!
>
> This means that an embedded font gives problems when combined with the 
> editor with editor toolbar (note that in that case the editor is an 
> iframe!).
>
> The style for the editor is given in $:/themes/tiddlywiki/vanilla/base
>
> .tc-tiddler-frame input.tc-edit-texteditor,
> .tc-tiddler-frame textarea.tc-edit-texteditor,
> .tc-tiddler-frame iframe.tc-edit-texteditor {
> padding: 3px 3px 3px 3px;
> border: 1px solid <>;
> background-color: <>;
> line-height: 1.3em;
> -webkit-appearance: none;
> font-family: {{$:/themes/tiddlywiki/vanilla/settings/editorfontfamily
> }};
> }
>
> The rendered version of $:/themes/tiddlywiki/vanilla/base shows your Zing 
> font as font-family.
> Prefixing these styles with html or html-body didn't help.
>
> To be honest I do not have an explanation why it does not work with the 
> iframe editor.
> Maybe someone else can help you.
>
> If you can live without the editor toolbar, it works as expected.
> In that case (and for testing) you can use my Editor toolbar checkbox + 
> preview button. Drag & drop the attached json file to your wiki.
>
> Cheers,
>
> Ton
>
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a0746e74-8681-40af-bfa0-a144fd4ee083%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using Custom Font in Tiddler Editor

2018-01-28 Thread Ton Gerner
Hi,

I played with your MTC and found the following:

1) A 'normal' font (I tried Comic Sans MS so it was easy to see) works for 
editing 
2) An embedded font (your Zing font) does not work for editing (as you 
already found)
2a) but when you switch off the editor toolbar, it works!

This means that an embedded font gives problems when combined with the 
editor with editor toolbar (note that in that case the editor is an 
iframe!).

The style for the editor is given in $:/themes/tiddlywiki/vanilla/base

.tc-tiddler-frame input.tc-edit-texteditor,
.tc-tiddler-frame textarea.tc-edit-texteditor,
.tc-tiddler-frame iframe.tc-edit-texteditor {
padding: 3px 3px 3px 3px;
border: 1px solid <>;
background-color: <>;
line-height: 1.3em;
-webkit-appearance: none;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/editorfontfamily}};
}

The rendered version of $:/themes/tiddlywiki/vanilla/base shows your Zing 
font as font-family.
Prefixing these styles with html or html-body didn't help.

To be honest I do not have an explanation why it does not work with the 
iframe editor.
Maybe someone else can help you.

If you can live without the editor toolbar, it works as expected.
In that case (and for testing) you can use my Editor toolbar checkbox + 
preview button. Drag & drop the attached json file to your wiki.

Cheers,

Ton


-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/14b04784-c07b-42aa-967d-f48ac0bdd4dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


$___toggle-editor-toolbar_preview.json
Description: application/json


[tw] Re: Using Custom Font in Tiddler Editor

2018-01-28 Thread h0p3
Of course! I have no idea why I didn't think to do that. Sorry. Here's a 
test case:

http://minimaltestcase.tiddlyspot.com/

Hopefully I'm just doing something obviously wrong which has a simple fix.




On Saturday, January 27, 2018 at 12:33:49 PM UTC-5, Ton Gerner wrote:
>
> Hi,
>
> Can you make a MTC (Minimal Test Case) e.g. at TiddlySpot so we can play 
> with it?
>
> Cheers,
>
> Ton
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9d1d3d02-4afb-49f8-afab-e98a826edef0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using Custom Font in Tiddler Editor

2018-01-27 Thread Ton Gerner
Hi,

Can you make a MTC (Minimal Test Case) e.g. at TiddlySpot so we can play 
with it?

Cheers,

Ton

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bfc8dfac-ca03-4a14-a0e2-4c2ae8eb5a6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.