Isn't there a button to change text alignment?

136 views
Skip to first unread message

Pedro

unread,
Jan 14, 2021, 12:14:49 PM1/14/21
to tiddl...@googlegroups.com
Hello!

After many months using TW, I just noticed that there is no button on edit mode to change text alignment inside a tiddler. I'm trying to centralize a particular block of text inside a tiddler but... I can't!

Googling it, I found some non trivial hacks. Something that I don't think it's acceptable for day-to-day use. Am I missing something?


----------
Pedro Alves

PhD candidate in Computer Science
Institute of Computing - University of Campinas

Mark S.

unread,
Jan 14, 2021, 1:42:41 PM1/14/21
to TiddlyWiki

Here is something you can try. Drag and drop and import (green line) into your TW. Be sure to have a backup!

I used the "gitter" icon for the icon. There may be better choices.

This wraps your text in @@align-text: center ... @@ styling.
EditButton_CenterText.json

jac...@gmail.com

unread,
Jan 18, 2021, 9:43:47 PM1/18/21
to TiddlyWiki
When I want to do this, I just wrap anything I want centered (horizontally) in an html 'center' tag. For example: 

<center>

!! A centered title
</center>

You center pretty much anything this way. I use it a lot to center images. 

Hope this helps!

Mohammad Rahmani

unread,
Jan 20, 2021, 4:02:12 AM1/20/21
to tiddl...@googlegroups.com
Shiraz plugin has text formatting as such but the simplest solution is the one proposed by Mark S.



Best wishes
Mohammad


--
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/CACW_pa0fv7W8PL1zs8rA0rMn_w%3DgJjn7S2Bf0CkWeFuYj9GcqQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages