editor.js/example
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 chore(example): the new example page for testing multiple instances 2021-02-17 17:22:29 +03:00
tools chore(example): add nested list to the example page (#1593) 2021-03-22 13:04:47 +03:00
example-dev.html Unique ids in blocks with nanoid (#1667) 2021-04-27 16:33:00 +03:00
example-i18n.html Feature: remove bundles (#1541) 2021-02-18 14:06:20 +03:00
example-multiple.html refactoring(modules): shortcuts module is util now (#1578) 2021-03-05 00:32:55 +03:00
example-rtl.html Feature: remove bundles (#1541) 2021-02-18 14:06:20 +03:00
example.html Feature: remove bundles (#1541) 2021-02-18 14:06:20 +03:00