react-ace
react-ace copied to clipboard
Syntax - Checker - not working
Problem
JSON Syntax Error Highlight - not working Detail the problem here, including any possible solutions.
Sample code to reproduce your issue
// Ace
import AceEditor from "react-ace";
...
<AceEditor/>
References
Progress on: #
"react-ace": "^10.1.0",
Expected Resulte
Can you assign me this issue? I think I can solve this problem.
Hi @securingsincity,
Please assign this to @hmmonotone,
Hey @hmmonotone,
Please make sure reactjs test case approach also.
Sure @HanojHanu working on it.
Any Updates ?
@hmmonotone , @securingsincity
So what I observed is, for the linting to happen, we have to import { IAceOptions } from 'react-ace'.
So what I observed is, for the linting to happen, we have to import { IAceOptions } from 'react-ace'.
@hmmonotone, can you provide me code snippet
// imports
import AceEditor, { IAceOptions } from "react-ace"; // this way ?
// component
return ( ... )
@hmmonotone ?
Anyone can help me?
Ace editor i what to use in Reactjs & Jest Test case too..
@hanoj-budime find any solution ?
@pranavmappoli use https://github.com/mkslanc/ace-linters for syntax checking
@hanoj-budime find any solution ?
No