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
    3
    edit-2
    5 months ago

    Ah thanks! Forgot to edit after copy-paste from testing code. And thanks for the suggestions @[email protected]! Still thinking about / working on the other suggestions

    • BluePowerOP
      link
      fedilink
      English
      25 months ago

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