Editor is not fully controlled

UI Components for React
Post Reply
daniel.varga
Posts: 1
Joined: 05 Oct 2022, 11:35

05 Oct 2022, 11:43

My issue is that the Editor component is not fully controlled.

Code: Select all

<Editor
  value={text}
  onTextChange={(e) => console.log(e.htmlValue)}
>
I think the content of the editor should not change when I type as I don't change the text state variable. Is it possible to do that? We need to limit the number of characters in these fields, but it is impossible without this feature.

habubey
Posts: 34
Joined: 24 Aug 2022, 13:17

08 Oct 2022, 22:28

Hello,
Thank you for your feedback. We'd gladly add some new features soon. We have an order of operations and priorities for new features.
I invite you to request a feature on PrimeReact GitHub issues. Therefore, our core team can be queued for processing. Please see the link below.

https://github.com/primefaces/primereac ... new/choose

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest