diff --git a/docs/overview.md b/docs/overview.md index 76fb56a9..bedc2819 100644 --- a/docs/overview.md +++ b/docs/overview.md @@ -21,6 +21,9 @@ import React from "react"; import ReactDOM from "react-dom"; import {MegadraftEditor, editorStateFromRaw} from "megadraft"; +//Import megadraft.css +import 'megadraft/dist/css/megadraft.css' + class App extends React.Component { constructor(props) { super(props); @@ -33,9 +36,13 @@ class App extends React.Component { render() { return ( - + //Add some margin left to show plugins sidebar +
+ +
) } } @@ -45,10 +52,3 @@ ReactDOM.render( document.getElementById('container') ); ``` - -Then link the main css (`dist/css/megadraft.css`) on your page, you can use the -Sass source on your build, if you wish. - -```html - -``` diff --git a/package.json b/package.json index 026e593a..d0003b8d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "megadraft", - "version": "0.6.15", + "version": "0.7-alpha.0", "description": "Rich Text editor built on top of draft.js", "main": "lib/Megadraft.js", "dependencies": {