editor.js/src/components/modules/api
azibodusi osain 9b7da504e4
feat(blocks-api): the insert() method now has the optional id param
* refactor: added id to the insert method  to allow user pass and existing id to the method

When  working with multiple editor at the same and need to link  all  blocks to each editor and keeping the same ids in all.

* moved the position of the block_id params to the end to aaviod breaking cha

* doc: updated  the  documentation on insert method params

* refactor :  formatted  the code to  add/remove  space

* refactor: moved the position of the `id` and its description to the respective position

* refactor: rollback to previous commit

* added back the removed default value

* fix error, remove garbage

* test added, changelog added

Co-authored-by: Umang G. Patel <23169768+robonetphy@users.noreply.github.com>
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
2022-11-25 23:59:38 +04:00
..
blocks.ts feat(blocks-api): the insert() method now has the optional id param 2022-11-25 23:59:38 +04:00
caret.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
events.ts refactoring(modules): Events module is util now (#1582) 2021-03-15 21:01:10 +03:00
i18n.ts Fix i18n for tunes and tools (#1711) 2021-06-28 13:06:35 +03:00
index.ts feat(toolbar): toolbar refactored and ui improved (#1815) 2021-11-24 21:14:24 +03:00
inlineToolbar.ts Release: 2.19 (#1364) 2020-10-13 20:50:46 +03:00
listeners.ts feat(toolbar): toolbar refactored and ui improved (#1815) 2021-11-24 21:14:24 +03:00
notifier.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
readonly.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
sanitizer.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
saver.ts Release: 2.19 (#1364) 2020-10-13 20:50:46 +03:00
selection.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
styles.ts Release: 2.19 (#1364) 2020-10-13 20:50:46 +03:00
toolbar.ts feat(toolbar): toolbar refactored and ui improved (#1815) 2021-11-24 21:14:24 +03:00
tooltip.ts feat(toolbar): toolbar refactored and ui improved (#1815) 2021-11-24 21:14:24 +03:00
ui.ts feat(toolbar): toolbar refactored and ui improved (#1815) 2021-11-24 21:14:24 +03:00