ContentTools Documentation

repository·master·Indexed 26 days ago

https://github.com/getmeuk/contenttools

A JavaScript library version 1.6.16 for building WYSIWYG editors for HTML content. Includes instructions for installation via npm or Bower, CDN usage via jsdelivr, building from source using grunt-cli and Sass, and running tests with Jasmine.

Tokens
291
Snippets
1
Records
4
Agent score
37%

What's inside ContentTools

  1. Use ContentTools via jsdelivr CDN

    master

    You can reference ContentTools files directly from the jsdelivr CDN using the following URL format:

    http://cdn.jsdelivr.net/npm/ContentTools@{version}/{file}

    Note on CSS: Because the project's CSS uses relative file paths, you should either roll your own version of the CSS from the SASS files (recommended) or override references to fonts and images within your local CSS to ensure they load correctly.

  2. Build ContentTools from source

    master

    To build the library from the source repository, you must have grunt-cli installed. You will also need sass installed via RubyGems.

    1. Clone the repository and install node modules.
    2. Install Sass.
    3. Run the Grunt build command.
    git clone https://github.com/GetmeUK/ContentTools.git
    cd ContentTools
    npm install
    
    gem install sass
    
    grant build