mirror of
https://github.com/codex-team/editor.js
synced 2024-05-17 13:56:45 +02:00
Compare commits
5 commits
beebfae54f
...
78803d6461
Author | SHA1 | Date | |
---|---|---|---|
78803d6461 | |||
dfb95c39b3 | |||
7e16e2b288 | |||
833d802542 | |||
962848c454 |
|
@ -2,19 +2,19 @@
|
|||
|
||||
### 2.30.0
|
||||
|
||||
– `New` – Block Tunes now supports nesting items
|
||||
– `New` – Block Tunes now supports separator items
|
||||
– `New` – "Convert to" control is now also available in Block Tunes
|
||||
- `New` – Block Tunes now supports nesting items
|
||||
- `New` – Block Tunes now supports separator items
|
||||
- `New` – "Convert to" control is now also available in Block Tunes
|
||||
- `Improvement` — The ability to merge blocks of different types (if both tools provide the conversionConfig)
|
||||
- `Fix` — `onChange` will be called when removing the entire text within a descendant element of a block.
|
||||
- `Fix` - Unexpected new line on Enter press with selected block without caret
|
||||
- `Fix` - Search input autofocus loosing after Block Tunes opening
|
||||
- `Fix` - Block removing while Enter press on Block Tunes
|
||||
– `Fix` – Unwanted scroll on first typing on iOS devices
|
||||
- `Fix` – Unwanted scroll on first typing on iOS devices
|
||||
- `Fix` - Unwanted soft line break on Enter press after period and space (". |") on iOS devices
|
||||
- `Fix` - Caret lost after block conversion on mobile devices.
|
||||
- `Improvement` - The API `blocks.convert()` now returns the new block API
|
||||
- `Improvement` - The API `caret.setToBlock(`)` now can accept either BlockAPI or block index or block id
|
||||
- `Improvement` - The API `caret.setToBlock()` now can accept either BlockAPI or block index or block id
|
||||
|
||||
### 2.29.1
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
import EditorJS from '../../../../types';
|
||||
import { BlockChangedMutationType } from '../../../../types/events/block/BlockChanged';
|
||||
|
||||
/**
|
||||
* There will be described test cases of BlockAPI
|
||||
* Test cases for Caret API
|
||||
*/
|
||||
describe('Caret API', () => {
|
||||
const paragraphDataMock = {
|
||||
|
@ -54,7 +53,7 @@ describe('Caret API', () => {
|
|||
.should(($block) => {
|
||||
expect($block[0].contains(range.startContainer)).to.be.true;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
expect(returnedValue).to.be.true;
|
||||
});
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"compilerOptions" : {
|
||||
"sourceMap": true,
|
||||
"target": "es2017",
|
||||
"strict": true,
|
||||
"declaration": false,
|
||||
"moduleResolution": "node", // This resolution strategy attempts to mimic the Node.js module resolution mechanism at runtime
|
||||
"lib": ["dom", "es2017", "es2018", "es2019"],
|
||||
|
|
Loading…
Reference in a new issue