Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/GetmeUK/ContentEdit
A JavaScript library that provides a set of classes for building content-editable HTML elements.
https://github.com/GetmeUK/ContentEdit
Last synced: 6 days ago
JSON representation
A JavaScript library that provides a set of classes for building content-editable HTML elements.
- Host: GitHub
- URL: https://github.com/GetmeUK/ContentEdit
- Owner: GetmeUK
- License: mit
- Created: 2015-08-09T12:47:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T20:13:12.000Z (almost 2 years ago)
- Last Synced: 2024-11-01T22:03:35.985Z (12 days ago)
- Language: JavaScript
- Homepage: http://getcontenttools.com/api/content-edit
- Size: 936 KB
- Stars: 252
- Watchers: 17
- Forks: 51
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ContentEdit
[![Build Status](https://travis-ci.org/GetmeUK/ContentEdit.svg?branch=master)](https://travis-ci.org/GetmeUK/ContentEdit)
> A JavaScript library that provides a set of classes for building content-editable HTML elements.
## Install
**Using bower**
```
bower install --save ContentEdit
```**Using npm**
```
npm install --save ContentEdit
```## Building
To build the library you'll need to use Grunt. First install the required node modules ([grunt-cli](http://gruntjs.com/getting-started) must be installed):
```
git clone https://github.com/GetmeUK/ContentEdit.git
cd ContentEdit
npm install
```Install Sass (if not already installed):
```
gem install sass
```Then run `grunt build` to build the project.
## Testing
To test the library you'll need to use Jasmine. First install Jasmine:
```
git clone https://github.com/pivotal/jasmine.git
mkdir ContentEdit/jasmine
mv jasmine/dist/jasmine-standalone-2.0.3.zip ContentEdit/jasmine
cd ContentEdit/jasmine
unzip jasmine-standalone-2.0.3.zip
```Then open `ContentEdit/SpecRunner.html` in a browser to run the tests.
Alternatively you can use `grunt jasmine` to run the tests from the command line.
## Documentation
Full documentation is available at http://getcontenttools.com/api/content-edit## Browser support
- Chrome
- Firefox
- IE9+