<commit_before># WARNING

Please do not publicize this repository in any way. There are a few known documentation gaps and browser quirks we wish to address before publication. Thank you for your patience.


# [Scribe Rich Text Editor](http://stypi.github.io/scribe) [![Build Status](https://secure.travis-ci.org/stypi/scribe.png?branch=master)](http://travis-ci.org/stypi/scribe) [![Dependency Status](https://gemnasium.com/stypi/scribe.png)](https://gemnasium.com/stypi/scribe)

[![Selenium Test Status](https://saucelabs.com/browser-matrix/scribe-master.svg)](https://saucelabs.com/u/scribe)

Scribe is a modern rich text editor built for compatibility and extensibility. It was created by [<NAME>](https://twitter.com/jhchen) and <NAME> and open sourced by [Salesforce.com](http://www.salesforce.com).

To get started, check out the [Scribe Github Page](http://stypi.github.io/scribe) or jump straight into the [demo](http://stypi.github.io/scribe/examples/advanced/).

## Quickstart

Instantiate a new Scribe object with a css selector for the div that should become the editor.

```html
<!-- Create the toolbar container -->
<div id="toolbar">
  <button class="sc-bold">Bold</button>
  <button class="sc-italic">Italic</button>
</div>

<!-- Create the editor container -->
<div id="editor">
  <div>Hello World!</div>
</div>

<!-- Include the Scribe library -->
<script src="http://stypi.github.io/scribe/js/scribe.js"></script>

<!-- Initialize Scribe editor -->
<script>
  var editor = new Scribe('#editor');
  editor.addModule('toolbar', { container: '#toolbar' });
</script>
```

## Local Development

### Installation

    npm install -g grunt-cli
    npm install
    bundle install

### Building

    grunt

### Testing
<commit_msg>fix links<commit_after># WARNING

Please do not publicize this repository in any way. There are a few known documentation gaps and browser quirks we wish to address before publication. Thank you for your patience.


# [Scribe Rich Text Editor](http://scribejs.com/) [![Build Status](https://secure.travis-ci.org/stypi/scribe.png?branch=master)](http://travis-ci.org/stypi/scribe) [![Dependency Status](https://gemnasium.com/stypi/scribe.png)](https://gemnasium.com/stypi/scribe)

[![Selenium Test Status](https://saucelabs.com/browser-matrix/scribe-master.svg)](https://saucelabs.com/u/scribe)

Scribe is a modern rich text editor built for compatibility and extensibility. It was created by [<NAME>](https://twitter.com/jhchen) and <NAME> and open sourced by [Salesforce.com](http://www.salesforce.com).

To get started, check out the [Scribe Github Page](http://scribejs.com/) or jump straight into the [demo](http://scribejs.com/examples/).

## Quickstart

Instantiate a new Scribe object with a css selector for the div that should become the editor.

```html
<!-- Create the toolbar container -->
<div id="toolbar">
  <button class="sc-bold">Bold</button>
  <button class="sc-italic">Italic</button>
</div>

<!-- Create the editor container -->
<div id="editor">
  <div>Hello World!</div>
</div>

<!-- Include the Scribe library -->
<script src="http://scribejs.com/js/scribe.js"></script>

<!-- Initialize Scribe editor -->
<script>
  var editor = new Scribe('#editor');
  editor.addModule('toolbar', { container: '#toolbar' });
</script>
```

## Local Development

### Installation

    npm install -g grunt-cli
    npm install
    bundle install

### Building

    grunt

### Testing

{'fraction_non_alphanumeric': 0.1569141193595342, 'fraction_numerical': 0.0, 'mean_word_length': 4.360374414976599, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 12, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4374652', 'n_tokens_mistral': 1085, 'n_tokens_neox': 1041, 'n_words': 307}