Issue-459 (#551)

* close toolbar after block is removed

* update bundle
This commit is contained in:
Murod Khaydarov 2018-12-06 22:23:06 +03:00 committed by GitHub
parent 020961a7e8
commit af4f62b254
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"name": "codex.editor",
"version": "2.7.5",
"version": "2.7.6",
"description": "Codex Editor. Native JS, based on API and Open Source",
"main": "dist/codex-editor.js",
"types": "./types/index.d.ts",

View file

@ -96,6 +96,8 @@ export default class DeleteTune implements BlockTune {
this.api.blocks.delete();
this.api.toolbar.close();
/**
* Prevent firing ui~documentClicked that can drop currentBlock pointer
*/