Font tool update:
- Now supports emoji shortcodes (only custom emoji for now, no unicode shortcodes).
- Supports multi-part custom emoji!
- If you've used the tool before, you will need to refresh your instance's emoji to get it to work.
- Clicking the link from your Mastodon instance's web UI should automatically load your instance's emoji if no emoji have been loaded yet.
- More Unicode fonts!
The font tool now supports Firefox. Show more
(Kind of. Read on for technical details.)
Firefox doesn't support ANY of the APIs the font tool uses for the actual editor:
The "fix" for Firefox involves watching the DOM and trying to interpret the changes the user has entered by observing their results.
This will probably break horribly if you do anything more complicated than pasting or typing single characters per keystroke.
To force the shim to be enabled, specify any value for the contentEditableShim query string parameter:
To force the shim to be disabled, specify an empty value for the parameter:
By default, the editor will check for compatibility by checking whether the contentEditable attribute on the toot-content element is understood by the browser.
@ben How do I refresh my instance's emoji? I loaded mastodon.social and then my own instance again, and my right bar looks like this. I know I have &knuckles and the laser letters and some other stuff.
@BestGirlGrace if you don't have the full set of letters it'll show up to the system as regular emojis
As for &knuckles, try typing :andknuckles:.
@ben Ah, that'd do it. Any plans to list all the available emoji sets?
@BestGirlGrace like some kind of list of links to tar files for instance owners?
If you mean the grouped emoji, you can get a list by running this in the developer console for now:
Object.entries(localData.nf).filter((e) => e.length > 1).map(e => e)
@ben I did mean that, thank you.
Also, you should have :son: for
@ben Not that the tar files wouldn't also be useful.
@BestGirlGrace I wonder if I should just go down the list of instances my instance knows about and steal all their custom emojis and then sort through them manually.
@ben I was kinda working on a tool to automate this once upon a time, where you could type in an instance name, and it'd show you all their emojis, let you check a box next to all the ones you want, and then tar them up for you and let you download them. I kinda lost interest in that particular project, but it's there.
@ben Mhm, mhm, mhm. This seems rad as hell but it doesn't work for me. Still thanks for making it.
@ben css is magical
@lynnesbian this is a very confusing adventure we are currently on
@ben you know what they say about assumptions: you make an ass out of u and mptions
This server and all of its members live in the same basement.