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:
Taly 2018-07-13 18:51:46 +03:00 committed by GitHub
commit 782a6005a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 335 additions and 49 deletions

View file

@ -104,6 +104,8 @@
console.log('Editor instance:', editor);
window.editor = editor;
// var editor2 = new CodexEditor({
// holderId : 'cdx',
// initialBlock: 'header'