Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release / 2.18 #1181

Merged
merged 26 commits into from
Jun 3, 2020
Merged

Release / 2.18 #1181

merged 26 commits into from
Jun 3, 2020

Conversation

neSpecc
Copy link
Member

@neSpecc neSpecc commented Jun 2, 2020

  • New I18n API — Ability to provide internalization for Editor.js core and tools. #751
  • New — Block API that allows you to access certain Block properties and methods
  • Improvements - 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: if blocks.delete method is called, but no Block is selected, show warning instead of throwing an error #1102
  • Improvements - Blocks API: allow deletion of blocks by specifying block index via blocks.delete(index).
  • Improvements - UX: Navigate next Block from the last non-initial one creates new initial Block now #1103
  • Improvements - Improve performance of DOM traversing at the isEmpty() method #1095
  • Improvements - CODE OF CONDUCT added
  • Improvements - 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 have destroy method called on Editor.js destroy
  • Improvements - Block settings can contain text inputs, focus will be restored after settings closed #1090
  • Fix - Editor's styles won't be appended to the <head> when another instance have already do that #1079
  • Fix - Fixed wrong toolbar icon centering in Firefox #1120
  • Fix - Toolbox: Tool's order in Toolbox now saved in accordance with tools object keys order #1073
  • Fix - Setting autofocus config property to true cause adding .ce-block--focused for the autofocused block #1073
  • Fix - Public getter shortcut now works for Inline Tools #1132
  • Fix - CMD+A handler removed after Editor.js destroy #1133

Breaking changes

  • blocks.getBlockByIndex method now returns BlockAPI object. To access old value, use the BlockAPI.holder property

neSpecc and others added 23 commits April 11, 2020 21:07
* TSLint -> ESLint, GitHub Action

* Update eslint.yml

* Autofix

* more autofix

* fix

* manually fix some issues

* Update CHANGELOG.md
Co-authored-by: Peter Savchenko <[email protected]>
* 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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: Georgy Berezhnoy <[email protected]>
* Do not load styles twice

* Add changelog

* Fix issue link

Co-authored-by: Peter Savchenko <[email protected]>
* fix $.isEmpty performance

* add changelog

* upd bundle

Co-authored-by: Peter Savchenko <[email protected]>
* Update issue templates

* Apply suggestions from code review

Co-Authored-By: George Berezhnoy <[email protected]>

* upd texts

* Update feature_request.md

* Update .github/ISSUE_TEMPLATE/discussion.md

Co-Authored-By: George Berezhnoy <[email protected]>

Co-authored-by: George Berezhnoy <[email protected]>
* 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 <[email protected]>
* Create CODE_OF_CONDUCT.md

* Update changelog file
* Update dependencies

* upd codex.tooltip

* Update editor.js.LICENSE.txt

Co-authored-by: Peter Savchenko <[email protected]>
* fix/shortcut-for-external-tools

* Check inline tools property for shortcut

Co-authored-by: George Berezhnoy <[email protected]>
* Removed shortcut CMD+A on editor destroy #1133

* Removed patch version and made code cleaner #1133

* lint error fixes #1133

Co-authored-by: Sisir <[email protected]>
Co-authored-by: George Berezhnoy <[email protected]>
* Fix BlockManager.insert method

* upd

* Explicitly check for undefined
* Update master branches

* Update image

* Update CHANGELOG.md
src/components/dom.ts Show resolved Hide resolved
src/components/dom.ts Show resolved Hide resolved
src/components/flipper.ts Outdated Show resolved Hide resolved
@neSpecc neSpecc merged commit 63eeec0 into master Jun 3, 2020
@neSpecc neSpecc mentioned this pull request Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants