On 5 Oct 2019, at 17:25, 'Mark S.' via TiddlyWiki <tiddl...@googlegroups.com> wrote:When we talk about accessibility, the first thing that comes to my mind is font size.You can change the font size of displayed tiddlers. You can change the overall font size of everything else.But is there a way to just change the editor font? Changing the overall font means that the title and sidebar look wrong.
For that matter, I'm surprised that the editor and display fonts aren't the same -- it's usually the same person using them both!
Thanks!--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/13fb3572-4259-46c3-9cc7-6ed85b636177%40googlegroups.com.
... monospaced editor font can make it easier to work with wikitext markup.
For that matter, I'm surprised that the editor and display fonts aren't the same -- it's usually the same person using them both!The ability to change the editor font was introduced by Mario a couple of years ago:I think the rationale is that a monospaced editor font can make it easier to work with wikitext markup.
What I meant to write was that I was surprised that the size of the two font sets wasn't the same. It certainlymakes sense to use a different font family for the tasks.
For that matter, I'm surprised that the editor and display fonts aren't the same -- it's usually the same person using them both!
I'm startled that you think an accessibility issue is just "curious".I can only assume you have much better vision than I do.
>But is there a way to just change the editor font?
>Changing the overall font means that the title and sidebar look wrong.
Jeremy said there was going to be a new class, .tc-edit-texteditor-body.That seems like a good fix.
The ideal ideal setting would beeditor font sizeeditor lineheight
but if not, then making the editor font size and lineheight the same as the tiddler font size and lineheight would make the most sense.
I've never noticed anyone getting challenged whether they're "just curious" when they ask for help. Maybe I should start asking that.
The obvious fix is to change the font between platforms. So I came up with a quick way to do that. BUT, it doesn't work for editing because the edit font is separate from the body font.
.tc-tiddler-frame textarea.tc-edit-texteditor {
font-size: 24px;
line-height: 30px;
}
.tc-edit-texteditor-body {
font-size: 24px;
line-height: 30px;
}
Static or specific font sizes are not the best in a multi-screen world.
@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
.tc-edit-texteditor-body {
font-size: 24px;
line-height: 30px;
}
}
.tc-tiddler-frame .tc-tiddler-body {
something: something;
}