Allow holderId work with ref on dom element (#710)

* done

* update types

* attempt to simplify code

* remove useless helper

* revert holderId logic and add holder property

* Apply suggestions from code review

Co-Authored-By: dimensi <eddimensi@gmail.com>

* update holder type on string | HTMLElement

* fix typo

* add deprecated notice and fix typos

* fix wrong compare

* fix comments

* swap console.log on _.log

* update types for editor config

* update examples

* update docs

* update build
This commit is contained in:
Nikita Nafranets 2019-04-15 18:34:13 +03:00 committed by Taly
commit 5f71c6f637
10 changed files with 71 additions and 32 deletions

View file

@ -87,7 +87,7 @@
/**
* Wrapper of Editor
*/
holderId: 'editorjs',
holder: 'editorjs',
/**
* Tools list