From d5bc6fa01154efa84442b49ed74a39708283820e Mon Sep 17 00:00:00 2001 From: Danil Beltyukov Date: Mon, 8 Apr 2019 22:11:44 +0300 Subject: [PATCH] Remove changelog contents from readme (#700) --- README.md | 41 ++++------------------------------------- 1 file changed, 4 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 0e0ab34bc..73a4efa69 100644 --- a/README.md +++ b/README.md @@ -18,43 +18,6 @@ Join [public Telegram-chat](//t.me/codex_editor) or [Gitter-channel](https://git | --------- | --------- | --------- | --------- | --------- | --------- | | Edge 12+ | Firefox 18+ | Chrome 49+ | Safari 10+ | Safari 10+ | Opera 36+ -### 2.7-2.9 changelog - -- `Fix` - Clear focus when click is outside the Editor instance -- `Fix` — Fix CMD+A Selection on multiple Editor instances -- `New` — Toolbox now have beautiful helpers with Tool names and shortcuts -- `Improvements` — Prevent navigating back on Firefox when Block is removing by backspace -- `New` — Blocks selected with Rectangle Selection can be also removed, copied or cut -- `New` — Migrate from `postcss-cssnext` to `postcss-preset-env` and disable `postcss-custom-properties` which conflicts with `postcss-preset-env` -- `New` *RectangeSelection* — Ability to select Block or several Blocks with mouse - -### 2.2—2.7 changelog - -- `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. -- `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. -- `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. -- `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. -- `New` *Block Tool* — [Table](http://github.com/editor-js/table) constructor 💪 -- `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 -- `New` [Public TS-types](https://github.com/codex-team/editor.js/tree/master/types) are presented. -- `Changes` *Tools API* — options `irreplaceable` and `contentless` was removed. -- `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. -- `Changes` *Tools API* — options `displayInToolbox ` and `toolboxIcon` was removed. Use [`toolbox`](https://github.com/codex-team/editor.js/blob/master/docs/tools.md#internal-tool-settings) instead, that should return object with `icon` and `title` field, or `false` if Tool should not be placed at the Toolbox. Also, there are a way to override `toolbox {icon, title}` settings provided by Tool with you own settings at the Initial Config. -- `Improvements` — All Projects code now on TypeScript -- `Improvements` — NPM package size decreased from 1300kb to 422kb -- `Improvements` — Bundle size decreased from 438kb to 252kb -- `Improvements` — `Inline Toolbar`: when you add a Link to the selected fragment, Editor will highlight this fragment even when Caret is placed into the URL-input. -- `Improvements` — Block Settings won't be shown near empty Blocks of `initialType` by default. You should click on them instead. -- `Improvements` — `onChange`-callback now will be fired even with children attributes changing. -- `Improvements` — HTMLJanitor package was updated due to found vulnerability -- `Improvements` — Logging improved: now all Editor's logs will be preceded by beautiful label with current Editor version. -- `Improvements` — Internal `isEmpty` checking was improved for Blocks with many children nodes (200 and more) -- `Improvements` — Paste improvements: tags that can be substituted by Tool now will matched even on deep-level of pasted DOM three. -- `Improvements` — There is no more «unavailable» sound on copying Block by `CMD+C` on macOS -- `Improvements` — Dozens of bugfixes and small improvements - -See a whole [Changelog](/docs/CHANGELOG.md) - ## Documentation While we develop the new Documentation Site with all stuff, you can check some available docs at the [docs/](docs/) dir. @@ -258,6 +221,10 @@ editor.saver.save() Take a look at the [example.html](example/example.html) to view more detailed examples. +## Changelog + +See a whole [Changelog](/docs/CHANGELOG.md) + ## Credits and references - We use [HTMLJanitor](https://github.com/guardian/html-janitor) module in our Sanitizer module.