mirror of
https://github.com/maputnik/editor.git
synced 2025-12-31 10:30:00 +00:00
Added JSON linting back into <SourceTypeEditor/>
This commit is contained in:
@@ -214,6 +214,11 @@ class GeoJSONSourceJSONEditor extends React.Component {
|
||||
<JSONEditor
|
||||
layer={this.props.source.data}
|
||||
maxHeight={200}
|
||||
mode={{
|
||||
name: "javascript",
|
||||
json: true
|
||||
}}
|
||||
lint={true}
|
||||
onChange={data => {
|
||||
this.props.onChange({
|
||||
...this.props.source,
|
||||
|
||||
Reference in New Issue
Block a user