@udecode/plate-core
Advanced tools
Comparing version 8.1.0 to 8.3.0
# @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 @@ |
@@ -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
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
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
2207910
19455