mirror of
https://github.com/codex-team/editor.js
synced 2024-06-10 18:03:25 +02:00
Update editor settings example (#792)
* Create FUNDING.yml * Update editor settings example
This commit is contained in:
parent
c538aae160
commit
c56320db69
5
.github/FUNDING.yml
vendored
Normal file
5
.github/FUNDING.yml
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
# These are supported funding model platforms
|
||||
|
||||
github: codex-team/editor.js
|
||||
patreon: editorjs
|
||||
open_collective: editorjs
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue