Skip to content

Commit

Permalink
Add suggestion to specify utf-8
Browse files Browse the repository at this point in the history
  • Loading branch information
mixonic committed Nov 7, 2016
1 parent 1d53f94 commit bbc3b15
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ editor.render(element);
whenever it encounters an unknown atom
* `parserPlugins` - [array] See [DOM Parsing Hooks](https://github.com/bustlelabs/mobiledoc-kit#dom-parsing-hooks)

The editor leverages unicode characters, so HTML documents must opt in to
UTF8. For example this can be done by adding the following to an HTML
document's `<head>`:

```html
<meta charset="utf-8" />
```

### Editor API

* `editor.serialize(version="0.3.0")` - serialize the current post for persistence. Returns
Expand Down

0 comments on commit bbc3b15

Please sign in to comment.