@editorjs/editorjs
Advanced tools
Comparing version 2.25.0 to 2.26.0-rc.0
@@ -20,3 +20,3 @@ /*! | ||
* | ||
* @version 2.25.0 | ||
* @version 2.26.0-rc.0 | ||
* | ||
@@ -23,0 +23,0 @@ * @licence Apache-2.0 |
{ | ||
"name": "@editorjs/editorjs", | ||
"version": "2.25.0", | ||
"version": "2.26.0-rc.0", | ||
"description": "Editor.js — Native JS, based on API and Open Source", | ||
@@ -5,0 +5,0 @@ "main": "dist/editor.js", |
@@ -31,4 +31,4 @@ <a href="https://editorjs.io/"><p align="center"><img src="https://capella.pics/79ce946a-d636-41cd-aa96-d3bc5ecfde03.jpg"></p></a> | ||
- [x] Toolbox become vertical [#2014](https://github.com/codex-team/editor.js/pull/2014) | ||
- [ ] Ability to display several Toolbox buttons by the single Tool `In progress` | ||
- [ ] Conversion Toolbar uses Unified Toolbox | ||
- [x] Ability to display several Toolbox buttons by the single Tool [#2050](https://github.com/codex-team/editor.js/pull/2050) | ||
- [ ] Conversion Toolbar uses Unified Toolbox `In progress` | ||
- [ ] Block Tunes become vertical | ||
@@ -89,2 +89,4 @@ - [ ] Conversion Toolbar added to the Block Tunes | ||
If you want to follow Editor.js updates, [subscribe to our Newsletter](http://digest.editorjs.io/). | ||
## How to use Editor.js | ||
@@ -91,0 +93,0 @@ |
@@ -55,3 +55,3 @@ import {OutputData} from '../data-formats/output-data'; | ||
*/ | ||
getBlockByIndex(index: number): BlockAPI | void; | ||
getBlockByIndex(index: number): BlockAPI | undefined; | ||
@@ -58,0 +58,0 @@ /** |
import {API, BlockAPI, SanitizerConfig, ToolConfig} from '../index'; | ||
import { BlockTuneData } from './block-tune-data'; | ||
import { TunesMenuConfig } from '../tools'; | ||
@@ -10,6 +11,4 @@ /** | ||
* Returns block tune HTMLElement | ||
* | ||
* @return {HTMLElement} | ||
*/ | ||
render(): HTMLElement; | ||
render(): HTMLElement | TunesMenuConfig; | ||
@@ -16,0 +15,0 @@ /** |
@@ -0,1 +1,3 @@ | ||
import { fromCallback } from 'cypress/types/bluebird'; | ||
export * from './editor-config'; | ||
@@ -8,1 +10,2 @@ export * from './sanitizer-config'; | ||
export * from './i18n-dictionary'; | ||
export * from './popover' |
@@ -74,2 +74,5 @@ /** | ||
I18nConfig, | ||
PopoverItem, | ||
PopoverItemWithConfirmation, | ||
PopoverItemWithoutConfirmation | ||
} from './configs'; | ||
@@ -76,0 +79,0 @@ export {OutputData, OutputBlockData} from './data-formats/output-data'; |
@@ -8,2 +8,3 @@ import { ConversionConfig, PasteConfig, SanitizerConfig } from '../configs'; | ||
import { MoveEvent } from './hook-events'; | ||
import { TunesMenuConfig } from './tool-settings'; | ||
@@ -29,5 +30,4 @@ /** | ||
* Create Block's settings block | ||
* @return {HTMLElement} | ||
*/ | ||
renderSettings?(): HTMLElement; | ||
renderSettings?(): HTMLElement | TunesMenuConfig; | ||
@@ -34,0 +34,0 @@ /** |
import { ToolConfig } from './tool-config'; | ||
import { ToolConstructable, BlockToolData } from './index'; | ||
import { PopoverItem } from '../configs'; | ||
@@ -31,2 +32,8 @@ /** | ||
/** | ||
* Tool may specify its tunes configuration | ||
* that can contain either one or multiple entries | ||
*/ | ||
export type TunesMenuConfig = PopoverItem | PopoverItem[]; | ||
/** | ||
* Object passed to the Tool's constructor by {@link EditorConfig#tools} | ||
@@ -33,0 +40,0 @@ * |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
489666
52
1520
285
2