Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@editorjs/editorjs

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@editorjs/editorjs - npm Package Compare versions

Comparing version 2.25.0 to 2.26.0-rc.0

types/configs/popover.d.ts

2

dist/editor.js.LICENSE.txt

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc