I have case where I need to update the linting error messages from a button click outside the codeMirror component. Although values are updating it wont show up on the editor until i manually update the text inside the editor by typing.
I tried following
refresh editor using instance
updating value prop: value get's updated but linting wont show up
I have case where I need to update the linting error messages from a button click outside the codeMirror component. Although values are updating it wont show up on the editor until i manually update the text inside the editor by typing.
I tried following
this is the option object i am passing in,