mirror of
https://github.com/codex-team/editor.js
synced 2026-03-17 16:10:07 +01:00
Clear API (#274)
* blockManager.clear * upd * api bez ebanoj knopki api * fix assignment * insert empty block with clear method * clear and render methods improved * open saver.save() * add comments * update comments * fix data returned by editor
This commit is contained in:
parent
73f5de3191
commit
782a6005a5
12 changed files with 335 additions and 49 deletions
|
|
@ -104,6 +104,8 @@
|
|||
|
||||
console.log('Editor instance:', editor);
|
||||
|
||||
window.editor = editor;
|
||||
|
||||
// var editor2 = new CodexEditor({
|
||||
// holderId : 'cdx',
|
||||
// initialBlock: 'header'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue