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.

  • @perchanceM
    link
    English
    2
    edit-2
    5 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.

    • allo
      link
      English
      15 months ago

      <3