Skip to content

Commit

Permalink
fixed readme
Browse files Browse the repository at this point in the history
  • Loading branch information
brijeshb42 committed Aug 10, 2015
1 parent 427d1a6 commit d94066d
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ It is available in the `window` as `LegoBlocks`.
* `<link rel="stylesheet" type="text/css" href="bower_components/quill/dist/quill.base.css">`
* (A bundled quill css comes with `LegoBlocks`. If you don't use bower, you can directly use:
* `<link rel="stylesheet" type="text/css" href="legoblocks.vendor.css">`)
* `<link rel="stylesheet" type="text/css" href="legoblocks.css">`. (Used for basic styling of the blocks. You can extend to be what you want.)
* `<link rel="stylesheet" type="text/css" href="legoblocks.css">`. (Used for basic styling of the blocks. You can extend these to be what you want.)
* Javascript:
* `<script type="text/javascript" src="bower_components/react/react-with-addons.min.js"></script>`
* `<script type="text/javascript" src="bower_components/quill/dist/quill.min.js"></script>`
* `<script src="bower_components/fetch/fetch.js"></script>`
* (Or you can just include `<script src="legoblocks.vendor.js"></script>` instead of the above 3).
* `<script type="text/javascript" src="legoblocks.js"></script>
* `<script type="text/javascript" src="legoblocks.js"></script>`

* Html:
* `<div id="editor-ui"></div>`
Expand Down Expand Up @@ -103,22 +103,22 @@ React.render(editor, document.getElementById('editor-ui'));
* The response from the server should be a json with the following structure:
```json
{
'html': 'The html retrived when visiting "https://api.twitter.com/1/statuses/oembed.json?url=url_to_twitter_status" directly'
"html": "The html retrived when visiting 'https://api.twitter.com/1/statuses/oembed.json?url=url_to_twitter_status' directly"
}
```

* Current Blocks:
[x] Text
[x] Quote
[x] Image
[x] Horizontal Break
[x] Ordered List
[x] Unordered List
[x] Embeds
[x] Twitter (has dependency on server)
[x] Instagram
[x] Vimeo
[x] Youtube
- [x] Text
- [x] Quote
- [x] Image
- [x] Horizontal Break
- [x] Ordered List
- [x] Unordered List
- [x] Embeds
- [x] Twitter (has dependency on server)
- [x] Instagram
- [x] Vimeo
- [x] Youtube

* Extra features:
* Blocks can be rearranged.
Expand Down

0 comments on commit d94066d

Please sign in to comment.