-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toot/Post/Status & Profile bio content #14
Comments
How about using a non-editable text view? The |
Thanks for your input! We had a small discussion over this on #46 with 3 available options:
Textviews and Webviews will probably have a performance impact or other issues since each post will need at least 2. |
Closing as duplicate of #1 |
Gtk labels cannot have images in them, making custom emoji support difficult.
At the same time we need to connect to signals that textview doesn't support (at least not as conveniently).
The current workaround I use for titles is to create a GtkButton with a box of GtkLabels and GtkImages from the title name (by splitting on
:
, checking for custom emojis etc).While that kind-of works for titles, it doesn't for bios or toots because they require markup support.
My current plan is to use a webview to render them. Using a webview will also allow Tooth to support non-mastodon instances or future mastodon features like text formatting, markdown, latex, code blocks & more.
The text was updated successfully, but these errors were encountered: