Regarding to the recently announced custom emojis feature for the comments plugin, it appears that lists for the options named other than commentOptions resulted in a weird Cannot read properties of undefined error. I’ve tried to rename the existing exact commentOptions list in the custom emojis example, and as expected, it yielded the same error. @[email protected] have also experienced the same problem with the ai-chat-modern generator for the same reason.

✅ Possible correction: I think you can change the window.root.commentOptions to opts.commentOptions on line 47 of the comments plugin so that it pulls out the options directly from whatever the list was named instead.

    • BluePowerOP
      link
      English
      22 months ago

      No problem, I know that it was going to be fixed!

  • BluePowerOP
    link
    English
    12 months ago

    From now on, I’ll mark the resolved bugs with the tag [Resolved Bug] on the title, so people know that the bug has been already fixed.

  • allo
    link
    fedilink
    English
    12 months ago

    Dear @[email protected] , I started to build a collection of emojis in to a list and would like to ask for one addition before getting too far. I can barely see the webp Telegram Stickers or even ones like and tried setting the font size of the comments as would usually change emoji sizes but they remain small.

    Can we please have an option, ideally per emoji in addition to the tags option, to set a specific size for that emoji?

    • @[email protected]M
      link
      fedilink
      English
      2
      edit-2
      2 months ago

      Thanks! It should now auto-adjust based on message font size. And there is now customEmojiSize which is for all custom emojis, and also an extra per-emoji multiplier on top of that with same syntax as tags - i.e. like (size:2) which I think you suggested in another comment. See plugin page for more details on that.