@masonwheeler please provide examples of this happening.
@Tsaukpaetra The dropdown thing isn't implemented by the emoji plugin. It is exposed by the composer and merely used by the emoji plugin. I'll see if I can get that fixed though.
@ben_lubar might help if you didn't have over 3500 individual emoji (not judging)
(async function () {
const table = await $.getJSON('/plugins/nodebb-plugin-emoji/emoji/table.json');
console.log(Object.keys(table).length);
})()
Compare that to https://community.nodebb.org with less than 1400.
Also, you may want to only include image files in your emoji pack, at the moment dictionary.json
is included as an emoji, which results in undefined
:
:dictionary:
As for the v2.1.0 thing, you should use https://github.com/NodeBB/NodeBB/commit/d7722de21090e5dce31631b45ff130b56806e007 which should update you to latest emoji plugin version, and allow you to use newer version in the future without NodeBB complaining.
That will disable the "solo colon triggering emoji autofill" annoyance. Also adds the emoji
class to every emoji so you can ditch the MutationObserver (assuming it's still there).
Edit: also just noticed that emoji are linkified, if you know why that's happening let me know I'd like to add it to FAQ.
Edit2: it's also possible but untested to use fonts with the emoji plugin, I might mess around and build a pack which adds fontawesome icons using the existing font included with NodeBB