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

@udecode/plate-core

Package Overview
Dependencies
Maintainers
2
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/plate-core - npm Package Compare versions

Comparing version 8.1.0 to 8.3.0

15

CHANGELOG.md
# @udecode/plate-core
## 8.3.0
### Patch Changes
- [#1266](https://github.com/udecode/plate/pull/1266) by [@zbeyens](https://github.com/zbeyens) –
- HTML deserializer:
- parent attributes does not override child leaf attributes anymore. For example, if a span has fontSize style = 16px, and its child span has fontSize style = 18px, it's now deserializing to 18px instead of 16px.
- Inject props:
- does not inject props when node value = `inject.props.defaultNodeValue` anymore.
- [#1257](https://github.com/udecode/plate/pull/1257) by [@tjramage](https://github.com/tjramage) –
- fix link upsert on space
- `getPointBefore`: will return early if the point before is in another block. Removed `multiPaths` option as it's not used anymore.
## 8.1.0

@@ -4,0 +19,0 @@

4

dist/common/queries/getPointBefore.d.ts

@@ -30,6 +30,2 @@ import { Location, Point } from 'slate';

skipInvalid?: boolean;
/**
* Allow lookup across multiple node paths.
*/
multiPaths?: boolean;
}

@@ -36,0 +32,0 @@ /**

@@ -8,5 +8,5 @@ import { DeserializeHtml } from '../../../types/plugins/DeserializeHtml';

*/
export declare const pluginDeserializeHtml: <T = {}, P = {}>(plugin: WithPlatePlugin<T, P>, { element: el, isLeaf }: {
export declare const pluginDeserializeHtml: <T = {}, P = {}>(plugin: WithPlatePlugin<T, P>, { element: el, deserializeLeaf, }: {
element: HTMLElement;
isLeaf?: boolean | undefined;
deserializeLeaf?: boolean | undefined;
}) => (Nullable<DeserializeHtml> & {

@@ -13,0 +13,0 @@ node: AnyObject;

{
"name": "@udecode/plate-core",
"version": "8.1.0",
"version": "8.3.0",
"description": "The core architecture of Plate – a plugin system for slate",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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