editor.js/docs
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
..
api.md Release / 2.18 (#1181) 2020-06-03 11:17:29 +03:00
block-tunes.md [Feature] Block Tunes API (#1596) 2021-04-04 15:10:26 +03:00
caret.md Rename to Editor.js (#625) 2019-02-28 14:01:32 +03:00
CHANGELOG.md Unique ids in blocks with nanoid (#1667) 2021-04-27 16:33:00 +03:00
installation.md Release: 2.19 (#1364) 2020-10-13 20:50:46 +03:00
releases.md Update releases.md docs for update version workflow (#1571) 2021-02-27 22:35:26 +03:00
sanitizer.md Rename to Editor.js (#625) 2019-02-28 14:01:32 +03:00
toolbar-settings.md Rename to Editor.js (#625) 2019-02-28 14:01:32 +03:00
tools-inline.md Release 2.16 (#966) 2019-11-30 23:42:39 +03:00
tools.md [Feature] Block Tunes API (#1596) 2021-04-04 15:10:26 +03:00
usage.md Release 2.16 (#966) 2019-11-30 23:42:39 +03:00