Skip to content

Commit be6f9b7

Browse files
khaydarovgeorgybgohaberegChristof JansneSpecc
authored
Release/2.17 (codex-team#1063)
* 2.16.0 * [Refactor] Separate internal and external settings (codex-team#845) * Enable flipping tools via standalone class (codex-team#830) * Enable flipping tools via standalone class * use flipper to refactor (codex-team#842) * use flipper to refactor * save changes * update * fix flipper on inline toolbar * ready for testing * requested changes * update doc * updates * destroy flippers * some requested changes * update * update * ready * update * last changes * update docs * Hghl active button of CT, simplify activate/deactivate * separate dom iterator * unhardcode directions * fixed a link in readme.md (codex-team#856) * Fix Block selection via CMD+A (codex-team#829) * Fix Block selection via CMD+A * Delete editor.js.map * update * update * Update CHANGELOG.md * Improve style of selected blocks (codex-team#858) * Cross-block-selection style improved * Update CHANGELOG.md * Fix case when property 'observer' in modificationObserver is not defined (codex-team#866) * Bump lodash.template from 4.4.0 to 4.5.0 (codex-team#885) Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.4.0...4.5.0) Signed-off-by: dependabot[bot] <[email protected]> * Bump eslint-utils from 1.3.1 to 1.4.2 (codex-team#886) Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2. - [Release notes](https://github.com/mysticatea/eslint-utils/releases) - [Commits](mysticatea/eslint-utils@v1.3.1...v1.4.2) Signed-off-by: dependabot[bot] <[email protected]> * Bump mixin-deep from 1.3.1 to 1.3.2 (codex-team#887) Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/jonschlinkert/mixin-deep/releases) - [Commits](jonschlinkert/mixin-deep@1.3.1...1.3.2) Signed-off-by: dependabot[bot] <[email protected]> * update bundle and readme * Update README.md * upd codeowners, fix funding * Minor Docs Fix according to main Readme (codex-team#916) * Inline Toolbar now contains Conversion Toolbar (codex-team#932) * Block lifecycle hooks (codex-team#906) * [Fix] Arrow selection (codex-team#964) * Fix arrow selection * Add docs * [issue-926]: fix dom iterator leafing when items are empty (codex-team#958) * [issue-926]: fix dom iterator leafing when items are empty * update Changelog * Issue 869 (codex-team#963) * Fix issue 943 (codex-team#965) * [Draft] Feature/tooltip enhancements (codex-team#907) * initial * update * make module standalone * use tooltips as external module * update * build via prod mode * add tooltips as external module * add declaration file and options param * add api tooltip * update * removed submodule * removed due to the incorrect setip * setup tooltips again * wip * update tooltip module * toolbox, inline toolbar * Tooltips in block tunes not uses shorthand * shorthand in a plus and block settings * fix doc * Update tools-inline.md * Delete tooltip.css * Update CHANGELOG.md * Update codex.tooltips * Update api.md * [issue-779]: Grammarly conflicts (codex-team#956) * grammarly conflicts * update * upd bundle * Submodule Header now on master * Submodule Marker now on master * Submodule Paragraph now on master * Submodule InlineCode now on master * Submodule Simple Image now on master * [issue-868]: Deleting multiple blocks triggers back button in Firefox (codex-team#967) * Deleting multiple blocks triggers back button in Firefox @evgenusov * Update editor.js * Update CHANGELOG.md * pass options on removeEventListener (codex-team#904) * pass options on removeEventListener by removeAll * rebuild * Merge branch 'release/2.16' into pr/904 * Update CHANGELOG.md * Update inline.ts * [Fix] Selection rangecount (codex-team#968) * Fix codex-team#952 (codex-team#969) * Update codex.tooltips * Selection bugfix (codex-team#970) * Selection bugfix * fix cross block selection * close inline toolbar when blocks selected via shift * remove inline toolbar closing on cross block selection mouse up due to the bug (codex-team#972) * [Feature] Log levels (codex-team#971) * Decrease margins (codex-team#973) * Decrease margins * Update editor.licenses.txt * Update src/components/domIterator.ts Co-Authored-By: Murod Khaydarov <[email protected]> * [Fix] Fix delete blocks api method (codex-team#974) * Update docs/usage.md Co-Authored-By: Murod Khaydarov <[email protected]> * rm unused * Update yarn.lock file * upd bundle, changelog * Resolve Firefox issues (codex-team#981) * Resolve Firefox issues * use firefox hack only for empty c-e divs * Set initial hidden Inline Toolbar position (codex-team#982) Resolves codex-team#979 * [Fix] tooltip types (codex-team#986) * Add tooltip as a package * Fix to set minHeight 0px (codex-team#987) * Release 2.16 (codex-team#966) * 2.16.0 * [Refactor] Separate internal and external settings (codex-team#845) * Enable flipping tools via standalone class (codex-team#830) * Enable flipping tools via standalone class * use flipper to refactor (codex-team#842) * use flipper to refactor * save changes * update * fix flipper on inline toolbar * ready for testing * requested changes * update doc * updates * destroy flippers * some requested changes * update * update * ready * update * last changes * update docs * Hghl active button of CT, simplify activate/deactivate * separate dom iterator * unhardcode directions * fixed a link in readme.md (codex-team#856) * Fix Block selection via CMD+A (codex-team#829) * Fix Block selection via CMD+A * Delete editor.js.map * update * update * Update CHANGELOG.md * Improve style of selected blocks (codex-team#858) * Cross-block-selection style improved * Update CHANGELOG.md * Fix case when property 'observer' in modificationObserver is not defined (codex-team#866) * Bump lodash.template from 4.4.0 to 4.5.0 (codex-team#885) Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.4.0...4.5.0) Signed-off-by: dependabot[bot] <[email protected]> * Bump eslint-utils from 1.3.1 to 1.4.2 (codex-team#886) Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2. - [Release notes](https://github.com/mysticatea/eslint-utils/releases) - [Commits](mysticatea/eslint-utils@v1.3.1...v1.4.2) Signed-off-by: dependabot[bot] <[email protected]> * Bump mixin-deep from 1.3.1 to 1.3.2 (codex-team#887) Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/jonschlinkert/mixin-deep/releases) - [Commits](jonschlinkert/mixin-deep@1.3.1...1.3.2) Signed-off-by: dependabot[bot] <[email protected]> * update bundle and readme * Update README.md * upd codeowners, fix funding * Minor Docs Fix according to main Readme (codex-team#916) * Inline Toolbar now contains Conversion Toolbar (codex-team#932) * Block lifecycle hooks (codex-team#906) * [Fix] Arrow selection (codex-team#964) * Fix arrow selection * Add docs * [issue-926]: fix dom iterator leafing when items are empty (codex-team#958) * [issue-926]: fix dom iterator leafing when items are empty * update Changelog * Issue 869 (codex-team#963) * Fix issue 943 (codex-team#965) * [Draft] Feature/tooltip enhancements (codex-team#907) * initial * update * make module standalone * use tooltips as external module * update * build via prod mode * add tooltips as external module * add declaration file and options param * add api tooltip * update * removed submodule * removed due to the incorrect setip * setup tooltips again * wip * update tooltip module * toolbox, inline toolbar * Tooltips in block tunes not uses shorthand * shorthand in a plus and block settings * fix doc * Update tools-inline.md * Delete tooltip.css * Update CHANGELOG.md * Update codex.tooltips * Update api.md * [issue-779]: Grammarly conflicts (codex-team#956) * grammarly conflicts * update * upd bundle * Submodule Header now on master * Submodule Marker now on master * Submodule Paragraph now on master * Submodule InlineCode now on master * Submodule Simple Image now on master * [issue-868]: Deleting multiple blocks triggers back button in Firefox (codex-team#967) * Deleting multiple blocks triggers back button in Firefox @evgenusov * Update editor.js * Update CHANGELOG.md * pass options on removeEventListener (codex-team#904) * pass options on removeEventListener by removeAll * rebuild * Merge branch 'release/2.16' into pr/904 * Update CHANGELOG.md * Update inline.ts * [Fix] Selection rangecount (codex-team#968) * Fix codex-team#952 (codex-team#969) * Update codex.tooltips * Selection bugfix (codex-team#970) * Selection bugfix * fix cross block selection * close inline toolbar when blocks selected via shift * remove inline toolbar closing on cross block selection mouse up due to the bug (codex-team#972) * [Feature] Log levels (codex-team#971) * Decrease margins (codex-team#973) * Decrease margins * Update editor.licenses.txt * Update src/components/domIterator.ts Co-Authored-By: Murod Khaydarov <[email protected]> * [Fix] Fix delete blocks api method (codex-team#974) * Update docs/usage.md Co-Authored-By: Murod Khaydarov <[email protected]> * rm unused * Update yarn.lock file * upd bundle, changelog * Fix changeling list items (codex-team#975) * Update changelog (codex-team#976) * Fix to set minHeight 0px * upd version * Update CHANGELOG.md * upd bundle * [Fix] Selection issues (codex-team#988) * [Dev] Update dependencies (codex-team#989) * Delete codex.tooltips * Update submodules * Fix/hide conversion toolbar (codex-team#991) * Hide conversion toolbar if there is no conversion tool * update changelog * update comment * updates * improve code * Update Changelog * Update CHANGELOG.md * fix some problems at example * Update CHANGELOG.md * Fix: bind editor when calling onChange (codex-team#1048) * Release/2.16.1 (codex-team#990) * 2.16.0 * [Refactor] Separate internal and external settings (codex-team#845) * Enable flipping tools via standalone class (codex-team#830) * Enable flipping tools via standalone class * use flipper to refactor (codex-team#842) * use flipper to refactor * save changes * update * fix flipper on inline toolbar * ready for testing * requested changes * update doc * updates * destroy flippers * some requested changes * update * update * ready * update * last changes * update docs * Hghl active button of CT, simplify activate/deactivate * separate dom iterator * unhardcode directions * fixed a link in readme.md (codex-team#856) * Fix Block selection via CMD+A (codex-team#829) * Fix Block selection via CMD+A * Delete editor.js.map * update * update * Update CHANGELOG.md * Improve style of selected blocks (codex-team#858) * Cross-block-selection style improved * Update CHANGELOG.md * Fix case when property 'observer' in modificationObserver is not defined (codex-team#866) * Bump lodash.template from 4.4.0 to 4.5.0 (codex-team#885) Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.4.0...4.5.0) Signed-off-by: dependabot[bot] <[email protected]> * Bump eslint-utils from 1.3.1 to 1.4.2 (codex-team#886) Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2. - [Release notes](https://github.com/mysticatea/eslint-utils/releases) - [Commits](mysticatea/eslint-utils@v1.3.1...v1.4.2) Signed-off-by: dependabot[bot] <[email protected]> * Bump mixin-deep from 1.3.1 to 1.3.2 (codex-team#887) Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/jonschlinkert/mixin-deep/releases) - [Commits](jonschlinkert/mixin-deep@1.3.1...1.3.2) Signed-off-by: dependabot[bot] <[email protected]> * update bundle and readme * Update README.md * upd codeowners, fix funding * Minor Docs Fix according to main Readme (codex-team#916) * Inline Toolbar now contains Conversion Toolbar (codex-team#932) * Block lifecycle hooks (codex-team#906) * [Fix] Arrow selection (codex-team#964) * Fix arrow selection * Add docs * [issue-926]: fix dom iterator leafing when items are empty (codex-team#958) * [issue-926]: fix dom iterator leafing when items are empty * update Changelog * Issue 869 (codex-team#963) * Fix issue 943 (codex-team#965) * [Draft] Feature/tooltip enhancements (codex-team#907) * initial * update * make module standalone * use tooltips as external module * update * build via prod mode * add tooltips as external module * add declaration file and options param * add api tooltip * update * removed submodule * removed due to the incorrect setip * setup tooltips again * wip * update tooltip module * toolbox, inline toolbar * Tooltips in block tunes not uses shorthand * shorthand in a plus and block settings * fix doc * Update tools-inline.md * Delete tooltip.css * Update CHANGELOG.md * Update codex.tooltips * Update api.md * [issue-779]: Grammarly conflicts (codex-team#956) * grammarly conflicts * update * upd bundle * Submodule Header now on master * Submodule Marker now on master * Submodule Paragraph now on master * Submodule InlineCode now on master * Submodule Simple Image now on master * [issue-868]: Deleting multiple blocks triggers back button in Firefox (codex-team#967) * Deleting multiple blocks triggers back button in Firefox @evgenusov * Update editor.js * Update CHANGELOG.md * pass options on removeEventListener (codex-team#904) * pass options on removeEventListener by removeAll * rebuild * Merge branch 'release/2.16' into pr/904 * Update CHANGELOG.md * Update inline.ts * [Fix] Selection rangecount (codex-team#968) * Fix codex-team#952 (codex-team#969) * Update codex.tooltips * Selection bugfix (codex-team#970) * Selection bugfix * fix cross block selection * close inline toolbar when blocks selected via shift * remove inline toolbar closing on cross block selection mouse up due to the bug (codex-team#972) * [Feature] Log levels (codex-team#971) * Decrease margins (codex-team#973) * Decrease margins * Update editor.licenses.txt * Update src/components/domIterator.ts Co-Authored-By: Murod Khaydarov <[email protected]> * [Fix] Fix delete blocks api method (codex-team#974) * Update docs/usage.md Co-Authored-By: Murod Khaydarov <[email protected]> * rm unused * Update yarn.lock file * upd bundle, changelog * Resolve Firefox issues (codex-team#981) * Resolve Firefox issues * use firefox hack only for empty c-e divs * Set initial hidden Inline Toolbar position (codex-team#982) Resolves codex-team#979 * [Fix] tooltip types (codex-team#986) * Add tooltip as a package * Fix to set minHeight 0px (codex-team#987) * Release 2.16 (codex-team#966) * 2.16.0 * [Refactor] Separate internal and external settings (codex-team#845) * Enable flipping tools via standalone class (codex-team#830) * Enable flipping tools via standalone class * use flipper to refactor (codex-team#842) * use flipper to refactor * save changes * update * fix flipper on inline toolbar * ready for testing * requested changes * update doc * updates * destroy flippers * some requested changes * update * update * ready * update * last changes * update docs * Hghl active button of CT, simplify activate/deactivate * separate dom iterator * unhardcode directions * fixed a link in readme.md (codex-team#856) * Fix Block selection via CMD+A (codex-team#829) * Fix Block selection via CMD+A * Delete editor.js.map * update * update * Update CHANGELOG.md * Improve style of selected blocks (codex-team#858) * Cross-block-selection style improved * Update CHANGELOG.md * Fix case when property 'observer' in modificationObserver is not defined (codex-team#866) * Bump lodash.template from 4.4.0 to 4.5.0 (codex-team#885) Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.4.0...4.5.0) Signed-off-by: dependabot[bot] <[email protected]> * Bump eslint-utils from 1.3.1 to 1.4.2 (codex-team#886) Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2. - [Release notes](https://github.com/mysticatea/eslint-utils/releases) - [Commits](mysticatea/eslint-utils@v1.3.1...v1.4.2) Signed-off-by: dependabot[bot] <[email protected]> * Bump mixin-deep from 1.3.1 to 1.3.2 (codex-team#887) Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/jonschlinkert/mixin-deep/releases) - [Commits](jonschlinkert/mixin-deep@1.3.1...1.3.2) Signed-off-by: dependabot[bot] <[email protected]> * update bundle and readme * Update README.md * upd codeowners, fix funding * Minor Docs Fix according to main Readme (codex-team#916) * Inline Toolbar now contains Conversion Toolbar (codex-team#932) * Block lifecycle hooks (codex-team#906) * [Fix] Arrow selection (codex-team#964) * Fix arrow selection * Add docs * [issue-926]: fix dom iterator leafing when items are empty (codex-team#958) * [issue-926]: fix dom iterator leafing when items are empty * update Changelog * Issue 869 (codex-team#963) * Fix issue 943 (codex-team#965) * [Draft] Feature/tooltip enhancements (codex-team#907) * initial * update * make module standalone * use tooltips as external module * update * build via prod mode * add tooltips as external module * add declaration file and options param * add api tooltip * update * removed submodule * removed due to the incorrect setip * setup tooltips again * wip * update tooltip module * toolbox, inline toolbar * Tooltips in block tunes not uses shorthand * shorthand in a plus and block settings * fix doc * Update tools-inline.md * Delete tooltip.css * Update CHANGELOG.md * Update codex.tooltips * Update api.md * [issue-779]: Grammarly conflicts (codex-team#956) * grammarly conflicts * update * upd bundle * Submodule Header now on master * Submodule Marker now on master * Submodule Paragraph now on master * Submodule InlineCode now on master * Submodule Simple Image now on master * [issue-868]: Deleting multiple blocks triggers back button in Firefox (codex-team#967) * Deleting multiple blocks triggers back button in Firefox @evgenusov * Update editor.js * Update CHANGELOG.md * pass options on removeEventListener (codex-team#904) * pass options on removeEventListener by removeAll * rebuild * Merge branch 'release/2.16' into pr/904 * Update CHANGELOG.md * Update inline.ts * [Fix] Selection rangecount (codex-team#968) * Fix codex-team#952 (codex-team#969) * Update codex.tooltips * Selection bugfix (codex-team#970) * Selection bugfix * fix cross block selection * close inline toolbar when blocks selected via shift * remove inline toolbar closing on cross block selection mouse up due to the bug (codex-team#972) * [Feature] Log levels (codex-team#971) * Decrease margins (codex-team#973) * Decrease margins * Update editor.licenses.txt * Update src/components/domIterator.ts Co-Authored-By: Murod Khaydarov <[email protected]> * [Fix] Fix delete blocks api method (codex-team#974) * Update docs/usage.md Co-Authored-By: Murod Khaydarov <[email protected]> * rm unused * Update yarn.lock file * upd bundle, changelog * Fix changeling list items (codex-team#975) * Update changelog (codex-team#976) * Fix to set minHeight 0px * upd version * Update CHANGELOG.md * upd bundle * [Fix] Selection issues (codex-team#988) * [Dev] Update dependencies (codex-team#989) * Delete codex.tooltips * Update submodules * Fix/hide conversion toolbar (codex-team#991) * Hide conversion toolbar if there is no conversion tool * update changelog * update comment * updates * improve code * Update Changelog * Update CHANGELOG.md * Update CHANGELOG.md * Fix: bind editor when calling onChange fixes codex-team#999 * send api as a parameter * upd bundle * Update CHANGELOG.md Co-authored-by: Peter Savchenko <[email protected]> * updated some wording. (codex-team#1044) * Release/2.16.1 (codex-team#990) * 2.16.0 * [Refactor] Separate internal and external settings (codex-team#845) * Enable flipping tools via standalone class (codex-team#830) * Enable flipping tools via standalone class * use flipper to refactor (codex-team#842) * use flipper to refactor * save changes * update * fix flipper on inline toolbar * ready for testing * requested changes * update doc * updates * destroy flippers * some requested changes * update * update * ready * update * last changes * update docs * Hghl active button of CT, simplify activate/deactivate * separate dom iterator * unhardcode directions * fixed a link in readme.md (codex-team#856) * Fix Block selection via CMD+A (codex-team#829) * Fix Block selection via CMD+A * Delete editor.js.map * update * update * Update CHANGELOG.md * Improve style of selected blocks (codex-team#858) * Cross-block-selection style improved * Update CHANGELOG.md * Fix case when property 'observer' in modificationObserver is not defined (codex-team#866) * Bump lodash.template from 4.4.0 to 4.5.0 (codex-team#885) Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.4.0...4.5.0) Signed-off-by: dependabot[bot] <[email protected]> * Bump eslint-utils from 1.3.1 to 1.4.2 (codex-team#886) Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2. - [Release notes](https://github.com/mysticatea/eslint-utils/releases) - [Commits](mysticatea/eslint-utils@v1.3.1...v1.4.2) Signed-off-by: dependabot[bot] <[email protected]> * Bump mixin-deep from 1.3.1 to 1.3.2 (codex-team#887) Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/jonschlinkert/mixin-deep/releases) - [Commits](jonschlinkert/mixin-deep@1.3.1...1.3.2) Signed-off-by: dependabot[bot] <[email protected]> * update bundle and readme * Update README.md * upd codeowners, fix funding * Minor Docs Fix according to main Readme (codex-team#916) * Inline Toolbar now contains Conversion Toolbar (codex-team#932) * Block lifecycle hooks (codex-team#906) * [Fix] Arrow selection (codex-team#964) * Fix arrow selection * Add docs * [issue-926]: fix dom iterator leafing when items are empty (codex-team#958) * [issue-926]: fix dom iterator leafing when items are empty * update Changelog * Issue 869 (codex-team#963) * Fix issue 943 (codex-team#965) * [Draft] Feature/tooltip enhancements (codex-team#907) * initial * update * make module standalone * use tooltips as external module * update * build via prod mode * add tooltips as external module * add declaration file and options param * add api tooltip * update * removed submodule * removed due to the incorrect setip * setup tooltips again * wip * update tooltip module * toolbox, inline toolbar * Tooltips in block tunes not uses shorthand * shorthand in a plus and block settings * fix doc * Update tools-inline.md * Delete tooltip.css * Update CHANGELOG.md * Update codex.tooltips * Update api.md * [issue-779]: Grammarly conflicts (codex-team#956) * grammarly conflicts * update * upd bundle * Submodule Header now on master * Submodule Marker now on master * Submodule Paragraph now on master * Submodule InlineCode now on master * Submodule Simple Image now on master * [issue-868]: Deleting multiple blocks triggers back button in Firefox (codex-team#967) * Deleting multiple blocks triggers back button in Firefox @evgenusov * Update editor.js * Update CHANGELOG.md * pass options on removeEventListener (codex-team#904) * pass options on removeEventListener by removeAll * rebuild * Merge branch 'release/2.16' into pr/904 * Update CHANGELOG.md * Update inline.ts * [Fix] Selection rangecount (codex-team#968) * Fix codex-team#952 (codex-team#969) * Update codex.tooltips * Selection bugfix (codex-team#970) * Selection bugfix * fix cross block selection * close inline toolbar when blocks selected via shift * remove inline toolbar closing on cross block selection mouse up due to the bug (codex-team#972) * [Feature] Log levels (codex-team#971) * Decrease margins (codex-team#973) * Decrease margins * Update editor.licenses.txt * Update src/components/domIterator.ts Co-Authored-By: Murod Khaydarov <[email protected]> * [Fix] Fix delete blocks api method (codex-team#974) * Update docs/usage.md Co-Authored-By: Murod Khaydarov <[email protected]> * rm unused * Update yarn.lock file * upd bundle, changelog * Resolve Firefox issues (codex-team#981) * Resolve Firefox issues * use firefox hack only for empty c-e divs * Set initial hidden Inline Toolbar position (codex-team#982) Resolves codex-team#979 * [Fix] tooltip types (codex-team#986) * Add tooltip as a package * Fix to set minHeight 0px (codex-team#987) * Release 2.16 (codex-team#966) * 2.16.0 * [Refactor] Separate internal and external settings (codex-team#845) * Enable flipping tools via standalone class (codex-team#830) * Enable flipping tools via standalone class * use flipper to refactor (codex-team#842) * use flipper to refactor * save changes * update * fix flipper on inline toolbar * ready for testing * requested changes * update doc * updates * destroy flippers * some requested changes * update * update * ready * update * last changes * update docs * Hghl active button of CT, simplify activate/deactivate * separate dom iterator * unhardcode directions * fixed a link in readme.md (codex-team#856) * Fix Block selection via CMD+A (codex-team#829) * Fix Block selection via CMD+A * Delete editor.js.map * update * update * Update CHANGELOG.md * Improve style of selected blocks (codex-team#858) * Cross-block-selection style improved * Update CHANGELOG.md * Fix case when property 'observer' in modificationObserver is not defined (codex-team#866) * Bump lodash.template from 4.4.0 to 4.5.0 (codex-team#885) Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.4.0...4.5.0) Signed-off-by: dependabot[bot] <[email protected]> * Bump eslint-utils from 1.3.1 to 1.4.2 (codex-team#886) Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2. - [Release notes](https://github.com/mysticatea/eslint-utils/releases) - [Commits](mysticatea/eslint-utils@v1.3.1...v1.4.2) Signed-off-by: dependabot[bot] <[email protected]> * Bump mixin-deep from 1.3.1 to 1.3.2 (codex-team#887) Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/jonschlinkert/mixin-deep/releases) - [Commits](jonschlinkert/mixin-deep@1.3.1...1.3.2) Signed-off-by: dependabot[bot] <[email protected]> * update bundle and readme * Update README.md * upd codeowners, fix funding * Minor Docs Fix according to main Readme (codex-team#916) * Inline Toolbar now contains Conversion Toolbar (codex-team#932) * Block lifecycle hooks (codex-team#906) * [Fix] Arrow selection (codex-team#964) * Fix arrow selection * Add docs * [issue-926]: fix dom iterator leafing when items are empty (codex-team#958) * [issue-926]: fix dom iterator leafing when items are empty * update Changelog * Issue 869 (codex-team#963) * Fix issue 943 (codex-team#965) * [Draft] Feature/tooltip enhancements (codex-team#907) * initial * update * make module standalone * use tooltips as external module * update * build via prod mode * add tooltips as external module * add declaration file and options param * add api tooltip * update * removed submodule * removed due to the incorrect setip * setup tooltips again * wip * update tooltip module * toolbox, inline toolbar * Tooltips in block tunes not uses shorthand * shorthand in a plus and block settings * fix doc * Update tools-inline.md * Delete tooltip.css * Update CHANGELOG.md * Update codex.tooltips * Update api.md * [issue-779]: Grammarly conflicts (codex-team#956) * grammarly conflicts * update * upd bundle * Submodule Header now on master * Submodule Marker now on master * Submodule Paragraph now on master * Submodule InlineCode now on master * Submodule Simple Image now on master * [issue-868]: Deleting multiple blocks triggers back button in Firefox (codex-team#967) * Deleting multiple blocks triggers back button in Firefox @evgenusov * Update editor.js * Update CHANGELOG.md * pass options on removeEventListener (codex-team#904) * pass options on removeEventListener by removeAll * rebuild * Merge branch 'release/2.16' into pr/904 * Update CHANGELOG.md * Update inline.ts * [Fix] Selection rangecount (codex-team#968) * Fix codex-team#952 (codex-team#969) * Update codex.tooltips * Selection bugfix (codex-team#970) * Selection bugfix * fix cross block selection * close inline toolbar when blocks selected via shift * remove inline toolbar closing on cross block selection mouse up due to the bug (codex-team#972) * [Feature] Log levels (codex-team#971) * Decrease margins (codex-team#973) * Decrease margins * Update editor.licenses.txt * Update src/components/domIterator.ts Co-Authored-By: Murod Khaydarov <[email protected]> * [Fix] Fix delete blocks api method (codex-team#974) * Update docs/usage.md Co-Authored-By: Murod Khaydarov <[email protected]> * rm unused * Update yarn.lock file * upd bundle, changelog * Fix changeling list items (codex-team#975) * Update changelog (codex-team#976) * Fix to set minHeight 0px * upd version * Update CHANGELOG.md * upd bundle * [Fix] Selection issues (codex-team#988) * [Dev] Update dependencies (codex-team#989) * Delete codex.tooltips * Update submodules * Fix/hide conversion toolbar (codex-team#991) * Hide conversion toolbar if there is no conversion tool * update changelog * update comment * updates * improve code * Update Changelog * Update CHANGELOG.md * Update CHANGELOG.md * updated some wording. * Update installation.md * Update CHANGELOG.md Co-authored-by: Peter Savchenko <[email protected]> * Fix grammar in readme.md (codex-team#1008) * Update editor.js * Paste listener on editors instead of document (codex-team#1025) * Paste listener on editors instead of document * add changelog Co-authored-by: Peter Savchenko <[email protected]> * Bump acorn from 6.4.0 to 6.4.1 (codex-team#1059) Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](acornjs/acorn@6.4.0...6.4.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix flipper activate/deactivate when conversionToolbarOpened (codex-team#1001) * Fix flipper activate/deactivate when conversionToolbarOpened * fix bug with flipping inline toolbar * update changelog * added comment for new condition * upd bundle Co-authored-by: Murod Khaydarov <[email protected]> Co-authored-by: Peter Savchenko <[email protected]> * [Issue-1057]: open new window by clicking anchor with ctrl (codex-team#1062) * open new window when anchor clicked with ctrl * delete source maps * update function name * update * update changelog * Fix settings box-sizing (codex-team#1013) * Improvements: new Block Settings button style (codex-team#1064) * [Feature] In-house copy paste (codex-team#1060) * New block lifecycle hook and BlockToolAPI: "moved" (codex-team#1007) * Update CHANGELOG.md * feat: add swapped lifecycle hook * feat: deprecate swap and add move instead * feat: set fromIndex by default, add MoveEvent, add indices checks in blockManager * refactor: MoveEvent interface more event-like; docs: added docs for MoveEvent * fix asterix alignment due to tslint error * fix tslint * extending CustomEvent * update bundle * Update CHANGELOG.md Co-authored-by: Peter Savchenko <[email protected]> Co-authored-by: Murod Khaydarov <[email protected]> * Change paste function of text/plain (codex-team#1014) Co-authored-by: Georgy Berezhnoy <[email protected]> * Improve paste function of multiple lines (codex-team#1016) Co-authored-by: Georgy Berezhnoy <[email protected]> * 2.17.0 * Update bundle Co-authored-by: georgyb <[email protected]> Co-authored-by: George Berezhnoy <[email protected]> Co-authored-by: Christof Jans <[email protected]> Co-authored-by: Peter Savchenko <[email protected]> Co-authored-by: VladimirZhdanov <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chaitanya <[email protected]> Co-authored-by: Marina <[email protected]> Co-authored-by: Hata <[email protected]> Co-authored-by: Mohamed El Bahja <[email protected]> Co-authored-by: Danny Rubio <[email protected]> Co-authored-by: darrelfrancis <[email protected]> Co-authored-by: Emmanuel Francis Ramos Jr <[email protected]> Co-authored-by: Andrey Blinov <[email protected]> Co-authored-by: Stefan Natter <[email protected]> Co-authored-by: Georgy Berezhnoy <[email protected]>
1 parent 737ba2a commit be6f9b7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+500
-202
lines changed

README.md

+25-31
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ If you like Editor.js you can support project improvements and development of ne
1818

1919
👉 [https://opencollective.com/editorjs](https://opencollective.com/editorjs)
2020

21-
👉 Bitcoin: `3DCCemgtE6GrzehVpU6Sa2RJHFUUh8iT9q`
22-
2321
### Sponsors
2422

2523
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/editorjs#sponsor)]
@@ -36,11 +34,11 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
3634

3735
This project exists thanks to all the people who contribute. <img src="https://opencollective.com/editorjs/contributors.svg?width=890&button=false" />
3836

39-
We are really welcome new contributors. If you want to make some code with us, please take a look at the [Good First Tasks](https://github.com/codex-team/editor.js/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+task%22). You can write to us on `[email protected]` or via special [Telegram chat](https://t.me/editorjsdev), or any other way.
37+
We really welcome new contributors. If you want to make some code with us, please take a look at the [Good First Tasks](https://github.com/codex-team/editor.js/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+task%22). You can write to us on `[email protected]` or via special [Telegram chat](https://t.me/editorjsdev), or any other way.
4038

4139
## Documentation
4240

43-
Please, visit [https://editorjs.io/](https://editorjs.io) to view all documentation articles.
41+
Please visit [https://editorjs.io/](https://editorjs.io) to view all documentation articles.
4442

4543
- [Base concepts](https://editorjs.io/base-concepts)
4644
- [Getting started](https://editorjs.io/getting-started)
@@ -53,37 +51,37 @@ You can join a [Gitter-channel](https://gitter.im/codex-team/editor.js) or [Tele
5351

5452
## Changelog
5553

56-
See a whole [Changelog](/docs/CHANGELOG.md)
54+
See the whole [Changelog](/docs/CHANGELOG.md)
5755

58-
## So how to use Editor.js
56+
## How to use Editor.js
5957

6058
### Basics
6159

6260
Editor.js is a Block-Styled editor. Blocks are structural units, of which the Entry is composed.
6361
For example, `Paragraph`, `Heading`, `Image`, `Video`, `List` are Blocks. Each Block is represented by Plugin.
6462
We have [many](http://github.com/editor-js/) ready-to-use Plugins and a [simple API](https://editorjs.io/tools-api) for creating new ones.
6563

66-
So how to use the Editor after [Installation](https://editorjs.io/getting-started).
64+
How to use the Editor after [Installation](https://editorjs.io/getting-started).
6765

68-
- Create new Blocks by Enter or with the Plus Button
66+
- Create new Blocks by pressing Enter or clicking the Plus Button
6967
- Press `TAB` or click on the Plus Button to view the Toolbox
7068
- Press `TAB` again to leaf Toolbox and select a Block you need. Then press Enter.
7169

7270

7371
![](https://github.com/editor-js/list/raw/master/assets/example.gif)
7472

75-
- Select text fragment and apply a style or insert a link from the Inline Toolbar
73+
- Select a text fragment and apply a style or insert a link from the Inline Toolbar
7674

7775
![](https://capella.pics/7ccbcfcd-1c49-4674-bea7-71021468a1bd.jpg)
7876

79-
- Use «three-dots» button on the right to open Block Settings. From here, you can move and delete a Block
80-
or apply Tool's settings, if it provided. For example, set a Heading level or List style.
77+
- Use the «three-dots» button on the right to open Block Settings. From here, you can move and delete a Block
78+
or apply a Tool's settings, if it provided. For example, you can set a Heading level or List style.
8179

8280
![](https://capella.pics/01a55381-46cd-47c7-b92e-34765434f2ca.jpg)
8381

8482
### Shortcuts
8583

86-
We really appreciate shortcuts. So there are few presets.
84+
A few shortcuts are preset as available.
8785

8886
Shortcut | Action | Restrictions
8987
-- | -- | --
@@ -94,7 +92,7 @@ Shortcut | Action | Restrictions
9492
`CMD+I` | Italic style | On selection
9593
`CMD+K` | Insert a link | On selection
9694

97-
Also we support shortcuts on the all type of Tools. Specify a shortcut with the Tools configuration. For example:
95+
Each Tool can also have its own shortcuts. These are specified in the configuration of the Tool, for example:
9896

9997
```js
10098
var editor = new EditorJS({
@@ -123,17 +121,17 @@ There are few steps to run Editor.js on your site.
123121
2. [Load Tools](#load-tools)
124122
3. [Initialize Editor's instance](#create-editor-instance)
125123

126-
### Load Editor's core
124+
### Step 1. Load Editor's core
127125

128-
Firstly you need to get Editor.js itself. It is a [minified script](dist/editor.js) with Editor's core and some default must-have tools.
126+
Get Editor.js itself. It is a [minified script](dist/editor.js) with Editor's core and some default must-have tools.
129127

130128
Choose the most usable method of getting Editor for you.
131129

132130
- Node package
133131
- Source from CDN
134132
- Local file from project
135133

136-
#### Node.js
134+
##### Option A. NPM install
137135

138136
Install the package via NPM or Yarn
139137

@@ -147,43 +145,39 @@ Include module in your application
147145
const EditorJS = require('@editorjs/editorjs');
148146
```
149147

150-
#### Use from CDN
148+
##### Option B. Use a CDN
151149

152-
You can load specific version of package from [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@editorjs/editorjs).
150+
You can load EditorJS directly from from [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@editorjs/editorjs).
153151

154152
`https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest`
155153

156-
Then require this script.
154+
For example, place this in your HTML:
157155

158156
```html
159-
<script src="..."></script>
157+
<script src="https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest"></script>
160158
```
161159

162-
#### Save sources to project
160+
##### Option C. Save source within your project
163161

164-
Copy [editor.js](dist/editor.js) file to your project and load it.
162+
Copy the [editor.js](dist/editor.js) file to your project and load it.
165163

166164
```html
167165
<script src="editor.js"></script>
168166
```
169167

170-
### Load Tools
171-
172-
Each Block at the Editor.js is represented by [Tools](docs/tools.md). There are simple external scripts with their own logic. Probably you want to use several Block Tools that should be connected.
168+
### Step 2. Load the Tools that you want to make available
173169

174-
For example check out our [Header](https://github.com/editor-js/header) Tool that represents heading blocks.
175-
176-
You can install Header Tool by the same way as the Editor (Node.js, CDN, local file).
177-
178-
Check [Editor.js's community](https://github.com/editor-js/) to see more ready-to-use Tools.
170+
Each Block is represented by a [Tool](docs/tools.md). Tools are simple external scripts with their own logic. For example, there is a [Header](https://github.com/editor-js/header) Tool into which you type your heading text. If you want to be able to use this, install the Header Tool the same way as the Editor (Node.js, CDN, local file).
179171

180172
**Example:** use Header from CDN
181173

182174
```html
183175
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/bundle.js"></script>
184176
```
185177

186-
### Create Editor instance
178+
Check [Editor.js's community](https://github.com/editor-js/) to see more ready-to-use Tools.
179+
180+
### Step 3. Create Editor instance
187181

188182
Create an instance of Editor.js and pass [Configuration Object](types/configs/editor-config.d.ts) with `holderId` and tools list.
189183

dist/editor.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/editor.js.LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* Editor.js
33
*
4-
* @version 2.16.1
4+
* @version 2.17.0
55
*
66
* @licence Apache-2.0
77
* @author CodeX <https://codex.so>

dist/sprite.svg

+5-6
Loading

docs/CHANGELOG.md

+34-20
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,45 @@
11
# Changelog
22

3+
### 2.17
4+
5+
- `Improvements` - Editor's [onchange callback](https://editorjs.io/configuration#editor-modifications-callback) now accepts an API as a parameter
6+
- `Fix` - Some mistakes are fixed in [installation.md](installation.md)
7+
- `Fix` - Fixed multiple paste callback triggering in a case when several editors are instantiated [#1011](https://github.com/codex-team/editor.js/issues/1011)
8+
- `Fix` - Fixed inline toolbar flipper activation on closing conversion toolbar [#995](https://github.com/codex-team/editor.js/issues/995)
9+
- `Improvements` - New window tab is opened by clicking on anchor with ctrl [#1057](https://github.com/codex-team/editor.js/issues/1057)
10+
- `Fix` - Fix block-tune buttons alignment in some CSS-resetors that forces `box-sizing: border-box` rule [#1003](https://github.com/codex-team/editor.js/issues/1003)
11+
- `Improvements` - New style of a Block Settings button. Focused block background removed.
12+
- `New` — Add in-house copy-paste support through `application/x-editor-js` mime-type
13+
- `New` Block [lifecycle hook](tools.md#block-lifecycle-hooks) `moved`
14+
- `Deprecated`[`blocks.swap(fromIndex, toIndex)`](api.md) method is deprecated. Use `blocks.move(toIndex, fromIndex)` instead.
15+
- `Fix` — Improve plain text paste [#1012](https://github.com/codex-team/editor.js/issues/1012)
16+
- `Fix` — Fix multiline paste [#1015](https://github.com/codex-team/editor.js/issues/1015)
17+
318
### 2.16.1
419

520
- `Fix` — Fix Firefox bug with incorrect height and cursor position of empty content editable elements [#947](https://github.com/codex-team/editor.js/issues/947) [#876](https://github.com/codex-team/editor.js/issues/876) [#608](https://github.com/codex-team/editor.js/issues/608) [#876](https://github.com/codex-team/editor.js/issues/876)
6-
- `Fix` — Set initial hidden Inline Toolbar position [#979](https://github.com/codex-team/editor.js/issues/979)
7-
- `Fix` — Fix issue with CodeX.Toolips TypeScript definitions [#978](https://github.com/codex-team/editor.js/issues/978)
21+
- `Fix` — Set initial hidden Inline Toolbar position [#979](https://github.com/codex-team/editor.js/issues/979)
22+
- `Fix` — Fix issue with CodeX.Toolips TypeScript definitions [#978](https://github.com/codex-team/editor.js/issues/978)
823
- `Fix` — Fix some issues with Inline and Tunes toolbars.
924
- `Fix` - Fix `minHeight` option with zero-value issue [#724](https://github.com/codex-team/editor.js/issues/724)
10-
- `Improvements` — Disable Conversion Toolbar if there are no Tools to convert [#984](https://github.com/codex-team/editor.js/issues/984)
25+
- `Improvements` — Disable Conversion Toolbar if there are no Tools to convert [#984](https://github.com/codex-team/editor.js/issues/984)
1126

1227
### 2.16
1328

1429
- `Improvements` — Inline Toolbar design improved
1530
- `Improvements` — Conversion Toolbar now included in the Inline Toolbar [#853](https://github.com/codex-team/editor.js/issues/853)
1631
- `Improvements` — All buttons now have beautiful Tooltips provided by [CodeX Tooltips](https://github.com/codex-team/codex.tooltips)
17-
- `New` — new Tooltips API for displaying tooltips near your custom elements
32+
- `New` — new Tooltips API for displaying tooltips near your custom elements
1833
- `New` *API* — Block [lifecycle hooks](tools.md#block-lifecycle-hooks)
19-
- `New` *Inline Tools API* — Ability to specify Tool's title via `title` static getter.
34+
- `New` *Inline Tools API* — Ability to specify Tool's title via `title` static getter.
2035
- `Fix` — On selection from end to start backspace is working as expected now [#869](https://github.com/codex-team/editor.js/issues/869)
2136
- `Fix` — Fix flipper with empty dom iterator [#926](https://github.com/codex-team/editor.js/issues/926)
2237
- `Fix` — Normalize node before walking through children at `isEmpty` method [#943](https://github.com/codex-team/editor.js/issues/943)
2338
- `Fix` — Fixed Grammarly conflict [#779](https://github.com/codex-team/editor.js/issues/779)
2439
- `Improvements` — Module Listeners now correctly removes events with options [#904](https://github.com/codex-team/editor.js/pull/904)
25-
- `Improvements` — Styles API: `.cdx-block` default vertical margins decreased from 0.7 to 0.4 ems.
26-
- `Fix` — Fixed History Back on block deletion by Backspace in Firefox [#967](https://github.com/codex-team/editor.js/pull/967)
40+
- `Improvements` — Styles API: `.cdx-block` default vertical margins decreased from 0.7 to 0.4 ems.
2741
- `Fix` — Fixed `getRangeCount` call if range count is 0 [#938](https://github.com/codex-team/editor.js/issues/938)
28-
- `New` — Log levels now available to suppress Editor.js console messages [#962](https://github.com/codex-team/editor.js/issues/962)
42+
- `New` — Log levels now available to suppress Editor.js console messages [#962](https://github.com/codex-team/editor.js/issues/962)
2943
- `Fix` — Fixed wrong navigation on block deletion
3044

3145
### 2.15.1
@@ -38,10 +52,10 @@
3852

3953
### 2.15
4054

41-
- `New` — New [`blocks.insert()`](api.md) API method [#715](https://github.com/codex-team/editor.js/issues/715).
55+
- `New` — New [`blocks.insert()`](api.md) API method [#715](https://github.com/codex-team/editor.js/issues/715).
4256
- `New` *Conversion Toolbar* — Ability to convert one block to another [#704](https://github.com/codex-team/editor.js/issues/704)
4357
- `New` *Cross-block selection* — Ability to select multiple blocks by mouse and with SHIFT+ARROWS [#703](https://github.com/codex-team/editor.js/issues/703)
44-
- `Deprecated`[`blocks.insertNewBlock()`](api.md) method is deprecated. Use `blocks.insert()` instead.
58+
- `Deprecated`[`blocks.insertNewBlock()`](api.md) method is deprecated. Use `blocks.insert()` instead.
4559
- `Improvements` — Inline Toolbar now works on mobile devices [#706](https://github.com/codex-team/editor.js/issues/706)
4660
- `Improvements` — Toolbar looks better on mobile devices [#706](https://github.com/codex-team/editor.js/issues/706)
4761
- `Improvements` — Now `pasteConfig` can return `false` to disable paste handling on your Tool [#801](https://github.com/codex-team/editor.js/issues/801)
@@ -67,9 +81,9 @@
6781
- `Deprecated` *Config* - `holderId` property now is deprecated and will removed in next major release. Use `holder` instead.
6882
- `Fix` *Types* — Fixed error with `codex-notifier` package [#713](https://github.com/codex-team/editor.js/issues/713)
6983
- `Improvements` — Close inline toolbar after creating a new link.
70-
- `New` *Config* — Option `minHeight` for customizing Editor's bottom zone height added.
84+
- `New` *Config* — Option `minHeight` for customizing Editor's bottom zone height added.
7185

72-
### 2.12.4
86+
### 2.12.4
7387

7488
- `Improvements` — CodeX.Shortcuts version updated to the v1.1 [#684](https://github.com/codex-team/editor.js/issues/684)
7589
- `Fix` — Do not start multi-block selection on Toolbox and Inline Toolbar [#646](https://github.com/codex-team/editor.js/issues/646)
@@ -82,15 +96,15 @@
8296

8397
### 2.12.2
8498

85-
- New *Inline Tools* — pass tool settings from configuration to Tool constructor
99+
- New *Inline Tools* — pass tool settings from configuration to Tool constructor
86100

87101
### 2.12.1
88102

89103
- `Fix` — Fix processing `color-mod` function in styles
90104

91-
### 2.12.0
105+
### 2.12.0
92106

93-
- `New` *API* - new `blocks` API method `renderFromHTML`
107+
- `New` *API* - new `blocks` API method `renderFromHTML`
94108

95109
### 2.11.11
96110

@@ -102,7 +116,7 @@
102116

103117
### 2.11.9
104118

105-
- `Fix` - Fix inline toolbar buttons margin. Update dependencies list. Update tools for example page.
119+
- `Fix` - Fix inline toolbar buttons margin. Update dependencies list. Update tools for example page.
106120

107121
### 2.11.8
108122

@@ -192,7 +206,7 @@
192206

193207
- `Fix` — cmd+x works only for custom selection now
194208

195-
### 2.7.28
209+
### 2.7.28
196210

197211
- `New` [Tools Validation](https://github.com/codex-team/editor.js/blob/master/docs/tools.md#validate-optional) is added.
198212

@@ -222,9 +236,9 @@
222236
- `New` *Sanitize API*[Sanitize Config](https://github.com/codex-team/editor.js/blob/master/docs/tools.md#automatic-sanitize) of `Block Tools` now automatically extends by tags of `Inline Tools` that is enabled by current Tool by `inlineToolbar` option. You don't need more to specify `a, b, mark, code` manually. This feature will be added to fields that supports inline markup.
223237
- `New` *Block Selection* — Ability to select Block by `CMD+A`, and the whole Editor by double `CMD+A`. After that, you can copy (`CMD+C`), remove (`Backspace`) or clear (`Enter`) selected Blocks.
224238
- `New` *[Styles API](https://github.com/codex-team/editor.js/blob/master/types/api/styles.d.ts)* — Added `button` class for stylization of any buttons provided by Tools with one unified style.
225-
- `New` *[Notifier API](https://github.com/codex-team/editor.js/blob/master/docs/api.md#notifierapi)* — methods for showing user notifications: on success, errors, warnings, etc.
226-
- `New` *Block Tool*[Table](http://github.com/editor-js/table) constructor 💪
227-
- `New` If one of the Tools is unavailable on Editor initialization, its Blocks will be rendered with *Dummy Block*, describing that user can not edit content of this Block. Dummy Blocks can be moved, removed and saved as normal Blocks. So saved data won't be lost if one of the Tools is failed
239+
- `New` *[Notifier API](https://github.com/codex-team/editor.js/blob/master/docs/api.md#notifierapi)* — methods for showing user notifications: on success, errors, warnings, etc.
240+
- `New` *Block Tool*[Table](http://github.com/editor-js/table) constructor 💪
241+
- `New` If one of the Tools is unavailable on Editor initialization, its Blocks will be rendered with *Dummy Block*, describing that user can not edit content of this Block. Dummy Blocks can be moved, removed and saved as normal Blocks. So saved data won't be lost if one of the Tools is failed
228242
- `New` [Public TS-types](https://github.com/codex-team/editor.js/tree/master/types) are presented.
229243
- `Changes` *Tools API* — options `irreplaceable` and `contentless` was removed.
230244
- `Changes` *Tools API*[Paste API](https://github.com/codex-team/editor.js/blob/master/docs/tools.md#paste-handling): tags, patterns and mime-types now should be specified by Tool's `pasteConfig` static property. Custom Paste Event should be handled by `onPaste(event)` that should not be static from now.

docs/api.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ Methods that working with Blocks
2626

2727
`renderFromHTML(data)` - parse and render passed HTML string (*not for production use*)
2828

29-
`swap(fromIndex, toIndex)` - swaps two Blocks by their positions
29+
`swap(fromIndex, toIndex)` - swaps two Blocks by their positions (deprecated:
30+
use 'move' instead)
31+
32+
`move(toIndex, fromIndex)` - moves block from one index to another position.
33+
`fromIndex` will be the current block's index by default.
3034

3135
`delete(blockIndex?: Number)` - deletes Block with passed index
3236

0 commit comments

Comments
 (0)