Welcome to the React feedback portal. We’re happy you’re here! If you have feedback on how to improve the React, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

2
Votes

It looks like you've added a new component to the toolbar of the rich text editor. It works fine when there's some data in the editor, but if I click on this component right after loading the editor without any data, the following error occurs:


base-toolbar.js:158 Uncaught TypeError: Cannot read properties of undefined (reading 'text')

    at proxy_1.click (base-toolbar.js:158:1)

    at Base.trigger (base.js:221:1)

    at Toolbar.clickHandler (toolbar.js:643:1)


It seems like there might be a missing initialization of an initial value for the toolbar, causing it to fail. Even if I preload the editor with data, it still fails. It only works if there's a prior action with the editor, such as typing any letter or number, and then clicking on the icon.