Update editor settings example (#792)

* Create FUNDING.yml

* Update editor settings example
This commit is contained in:
Duncan Krebbers 2019-06-11 13:30:15 +02:00 committed by Peter Savchenko
parent c538aae160
commit c56320db69
2 changed files with 7 additions and 2 deletions

5
.github/FUNDING.yml vendored Normal file
View file

@ -0,0 +1,5 @@
# These are supported funding model platforms
github: codex-team/editor.js
patreon: editorjs
open_collective: editorjs

View file

@ -85,7 +85,7 @@ Shortcut | Action | Restrictions
Also we support shortcuts on the all type of Tools. Specify a shortcut with the Tools configuration. For example:
```js
var editor = EditorJS({
var editor = new EditorJS({
//...
tools: {
header: {
@ -196,7 +196,7 @@ var editor = new EditorJS({
/**
* Create a holder for the Editor and pass its ID
*/
holderId : 'editorjs',
holder : 'editorjs',
/**
* Available Tools list.