editor.js/src
Jean-Gab de364175eb
Unique ids in blocks with nanoid (#1667)
* feat: Add unique ids for each block

* fix: Improve code based on code review

* feat(block ids): Use nanoid library for block id generation

* Remove unused files

* Add tests

* Fix lint & test

* fix: Remove unnecessary id generation, use nanoid(10) to shorten the id, add changelog and some documentation

Also improved some documentation along the lines and fixed linting

* Update copy-paste.spec.ts

* fix id generation, add api method

* Update blocks.spec.ts

* update tests

Co-authored-by: cobb <kebincheng@yeah.net>
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
2021-04-27 16:33:00 +03:00
..
assets Release/2.17 (#1063) 2020-03-14 23:47:04 +03:00
components Unique ids in blocks with nanoid (#1667) 2021-04-27 16:33:00 +03:00
styles Release: 2.19 (#1364) 2020-10-13 20:50:46 +03:00
tools [Refactoring] Tools (#1595) 2021-03-31 23:29:41 +03:00
types-internal refactoring: notifier is util now (#1628) 2021-04-15 20:20:21 +03:00
codex.ts refactoring(modules): the listeners module now a util (#1572) 2021-03-02 16:25:52 +03:00