Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
imshengli committed Apr 26, 2017
1 parent 15b4acd commit 6112c10
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion .npmignore
@@ -1,6 +1,5 @@
_*
/test
/node_modules
/images
/example
/src
Expand Down
5 changes: 0 additions & 5 deletions README.md
Expand Up @@ -31,11 +31,6 @@ class Demo extends Component {
ReactDOM.render(<Demo />, document.getElementById('root'));
```

```css
@import '~rich-editor/dist/rich-editor.css';
```


## License

ISC Licensed
Expand Down
2 changes: 1 addition & 1 deletion example/demo.jsx
@@ -1,6 +1,6 @@
import React, { Component } from "react";
import ReactDOM from "react-dom";
import RichEditor from '../src/index.js';
import RichEditor from '../lib/index.js';
import './demo.scss';

const STATIC_HTML = '<div><h2>The Little Prince</h2><p>Once when I was six years old I saw a magnificent picture in a book, called <strong><em>True Stories from Nature</em></strong>, about the primeval forest. It was a picture of a boa constrictor in the act of swallowing an animal. Here is a copy of the drawing. </p><p>In the book it said: "<em>Boa constrictors swallow their prey whole, without chewing it. After that they are not able to move, and they sleep through the six months that they need for digestion.</em>"</p><p>I pondered deeply, then, over the adventures of the jungle. And after some work with a colored pencil I succeeded in making my first drawing. My Drawing Number One. It looked something like this:</p><figure><img src="http://tmallstudio.qiniudn.com/2017/04/23/sombrero.gif" alt="sombrero" /></figure><p>I showed my masterpiece to the grown-ups, and asked them whether the drawing frightened them.</p><p><br /></p><p>----</p><p>The story above from: <a href="https://www.odaha.com/antoine-de-saint-exupery/maly-princ/the-little-prince">ODAHA</a></p></div>';
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "rich-editor",
"version": "0.1.10",
"version": "0.1.11",
"description": "A react editor component based on draftjs.",
"main": "lib/index.js",
"files": [
Expand Down

0 comments on commit 6112c10

Please sign in to comment.