editor.js/test/cypress
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
..
fixtures Basic initialisation test for Editor.js (#1410) 2020-11-21 21:01:31 +03:00
plugins [Feature] Block Tunes API (#1596) 2021-04-04 15:10:26 +03:00
support Unique ids in blocks with nanoid (#1667) 2021-04-27 16:33:00 +03:00
tests Unique ids in blocks with nanoid (#1667) 2021-04-27 16:33:00 +03:00
.eslintrc [Feature] Block Tunes API (#1596) 2021-04-04 15:10:26 +03:00
tsconfig.json refactoring(modules): sanitizer module is util now (#1574) 2021-04-08 21:17:23 +03:00