Skip to content
This repository was archived by the owner on Oct 14, 2018. It is now read-only.

Commit 515eb51

Browse files
committed
Fix css and update README
1 parent 47a9a17 commit 515eb51

File tree

4 files changed

+10
-33
lines changed

4 files changed

+10
-33
lines changed

README.md

+10-29
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,16 @@
1-
# react-json-editor
1+
react-json-editor
2+
==============
23
> A generic JSON editor, specifically designed for attaching to React state values.
34
4-
This project uses submodules, so **clone with `--recursive`**.
5+
### Warnings
6+
* no documentation, you'll have to read the source
7+
* no tests
58

6-
[![live demo](docs/_assets/json-editor.png?raw=true)](http://react-json-editor.bitballoon.com/examples/react-state-editor/webapp/)
9+
### Live Demo
10+
[![View Live Demo](screenshot.png?raw=true)](http://master-xmc9sn4ypn.elasticbeanstalk.com/app/)
711

8-
## Build the library
12+
Here is the [live demo](http://master-xmc9sn4ypn.elasticbeanstalk.com/app/), and [source code to the live demo](https://github.com/prognostic-llc/react-json-editor-example).
913

10-
grunt
14+
There are probably features missing. Please open an issue!
1115

12-
## Build the example
13-
14-
cd examples/react-state-editor
15-
grunt
16-
17-
* Use a static HTTP server to serve from the repo root directory, not the example root.
18-
* Navigate to `http://localhost/examples/react-state-editor/webapp/`
19-
20-
## FAQ
21-
22-
I get an error like this:
23-
24-
> ! Running "less:development" (less) task
25-
> ! >> FileError: '../react-treeview/react-treeview.css' wasn't found in styles/react-json-editor.less on line 1, column 1:
26-
> ! >> 1 @import (less) "../react-treeview/react-treeview.css";
27-
> ! >> 2
28-
> ! Warning: Error compiling LESS. Use --force to continue.
29-
> !
30-
> ! Aborted due to warnings.
31-
> >> Use --force to continue.
32-
>
33-
> Aborted due to warnings.
34-
35-
You didn't clone with `--recursive`. Type `git submodule init && git submodule update` to fix this, or reclone with `--recursive`.
16+
Please [let me know](https://twitter.com/dustingetz) if you use this, if this project is valued I will invest more time in it. Seriously, please, if you're reading this and want to use it, tweet me.

docs/_assets/json-editor.png

-39 KB
Binary file not shown.

screenshot.png

25.7 KB
Loading

src/react-json-editor.css

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
code, pre {
2-
font-size: 1.1em;
3-
}
4-
51
.JsonLeafEditor.dirty {
62
background-color: #99ccff;
73
}

0 commit comments

Comments
 (0)