neeto-editor icon indicating copy to clipboard operation
neeto-editor copied to clipboard

Feature request: calling setFieldValue should change the value of editor

Open subins2000 opened this issue 1 year ago • 1 comments

@AbhayVAshokan _a https://subin-siby.neetorecord.com/watch/bca57cb4-776e-4f4d-8451-005e1427b04e

subins2000 avatar May 13 '24 12:05 subins2000

@subins2000 Tiptap editor is built as an uncontrolled component. This is why updating the state do not update the editor content itself. We have tried workarounds in the past to mimic controlled state within the editor. This introduced a lot of bugs and performance issues. Please use the setContent method as suggested in the video to update the content.


We shall take up the live examples as you suggested. https://storybook.js.org/addons/storybook-addon-live-examples

AbhayVAshokan avatar May 13 '24 14:05 AbhayVAshokan