Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Release / 2.18 #1181
Release / 2.18 #1181
Conversation
* TSLint -> ESLint, GitHub Action * Update eslint.yml * Autofix * more autofix * fix * manually fix some issues * Update CHANGELOG.md
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* i18n first steps * i18n internal, toolbox, api for tools * namespaced api * tn, t * tn in block tunes * join toolbox and inlineTools under toolNames * translations * make enum toolTypes * Update block.ts * Update src/components/core.ts Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com> * add more types * rm tn * export i18n types * upd bundle * fix tabulation * Add type-safe namespaces * upd * Improve example * Update toolbox.ts * improve examplle * upd * fix typo * Add comments for complex types Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com> Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com>
* Do not load styles twice * Add changelog * Fix issue link Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* fix $.isEmpty performance * add changelog * upd bundle Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Update issue templates * Apply suggestions from code review Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com> * upd texts * Update feature_request.md * Update .github/ISSUE_TEMPLATE/discussion.md Co-Authored-By: George Berezhnoy <gohabereg@users.noreply.github.com> Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com>
* Allowing deleting block by block id * Fixed no argument error * Making index value optional for delete operation * Added to changelog * Making index value optional for delete operation * Added parameter description * Update docs/CHANGELOG.md * Update types/api/blocks.d.ts * Update editor.js Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* Create CODE_OF_CONDUCT.md * Update changelog file
* Update dependencies * upd codex.tooltip * Update editor.js.LICENSE.txt Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* fix/shortcut-for-external-tools * Check inline tools property for shortcut Co-authored-by: George Berezhnoy <gohabereg@gmail.com>
* Fix BlockManager.insert method * upd * Explicitly check for undefined
* Update master branches * Update image * Update CHANGELOG.md

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

NewI18n API — Ability to provide internalization for Editor.js core and tools. #751New— Block API that allows you to access certain Block properties and methodsImprovements- TSLint (deprecated) replaced with ESLint, old config changed to CodeX ESLint Config.Improvements- Fix many code-style issues, add missed annotations.Improvements- Adjusted GitHub action for ESLint.Improvements- Blocks API: ifblocks.deletemethod is called, but no Block is selected, show warning instead of throwing an error #1102Improvements- Blocks API: allow deletion of blocks by specifying block index viablocks.delete(index).Improvements- UX: Navigate next Block from the last non-initial one creates new initial Block now #1103Improvements- Improve performance of DOM traversing at theisEmpty()method #1095Improvements- CODE OF CONDUCT addedImprovements- Disabled useCapture flag for a block keydown handling. That will allow plugins to override keydown and stop event propagation, for example, to make own Tab behavior.Improvements- All modules now might havedestroymethod called on Editor.js destroyImprovements- Block settings can contain text inputs, focus will be restored after settings closed #1090Fix- Editor's styles won't be appended to the<head>when another instance have already do that #1079Fix- Fixed wrong toolbar icon centering in Firefox #1120Fix- Toolbox: Tool's order in Toolbox now saved in accordance withtoolsobject keys order #1073Fix- Settingautofocusconfig property totruecause adding.ce-block--focusedfor the autofocused block #1073Fix- Public gettershortcutnow works for Inline Tools #1132Fix-CMD+Ahandler removed after Editor.js destroy #1133Breaking changes
blocks.getBlockByIndexmethod now returns BlockAPI object. To access old value, use theBlockAPI.holderproperty