mirror of
https://github.com/codex-team/editor.js
synced 2026-03-16 15:45:47 +01:00
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:
parent
f5549458ae
commit
5f71c6f637
10 changed files with 71 additions and 32 deletions
|
|
@ -87,7 +87,7 @@
|
|||
/**
|
||||
* Wrapper of Editor
|
||||
*/
|
||||
holderId: 'editorjs',
|
||||
holder: 'editorjs',
|
||||
|
||||
/**
|
||||
* Tools list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue