New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@udecode/plate-font

Package Overview
Dependencies
Maintainers
2
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/plate-font - npm Package Compare versions

Comparing version 8.1.0 to 8.3.0

8

CHANGELOG.md
# @udecode/plate-font
## 8.3.0
### Minor Changes
- [#1266](https://github.com/udecode/plate/pull/1266) by [@zbeyens](https://github.com/zbeyens) –
- font plugins are now deserializable to HTML
- `defaultNodeValue` of font color plugin is now `'black'`
## 8.1.0

@@ -4,0 +12,0 @@

7

dist/index.es.js

@@ -15,2 +15,3 @@ import { createPluginFactory } from '@udecode/plate-core';

deserializeHtml: {
isLeaf: true,
getNode: element => ({

@@ -31,3 +32,4 @@ [type]: element.style.backgroundColor

props: {
nodeKey: MARK_COLOR
nodeKey: MARK_COLOR,
defaultNodeValue: 'black'
}

@@ -68,2 +70,3 @@ },

deserializeHtml: {
isLeaf: true,
getNode: element => ({

@@ -91,2 +94,3 @@ [type]: element.style.fontFamily

deserializeHtml: {
isLeaf: true,
getNode: element => ({

@@ -114,2 +118,3 @@ [type]: element.style.fontSize

deserializeHtml: {
isLeaf: true,
getNode: element => ({

@@ -116,0 +121,0 @@ [type]: element.style.fontWeight

@@ -19,2 +19,3 @@ 'use strict';

deserializeHtml: {
isLeaf: true,
getNode: element => ({

@@ -35,3 +36,4 @@ [type]: element.style.backgroundColor

props: {
nodeKey: MARK_COLOR
nodeKey: MARK_COLOR,
defaultNodeValue: 'black'
}

@@ -72,2 +74,3 @@ },

deserializeHtml: {
isLeaf: true,
getNode: element => ({

@@ -95,2 +98,3 @@ [type]: element.style.fontFamily

deserializeHtml: {
isLeaf: true,
getNode: element => ({

@@ -118,2 +122,3 @@ [type]: element.style.fontSize

deserializeHtml: {
isLeaf: true,
getNode: element => ({

@@ -120,0 +125,0 @@ [type]: element.style.fontWeight

4

package.json
{
"name": "@udecode/plate-font",
"version": "8.1.0",
"version": "8.3.0",
"description": "Font plugins for Plate",

@@ -35,3 +35,3 @@ "keywords": [

"dependencies": {
"@udecode/plate-core": "8.1.0"
"@udecode/plate-core": "8.3.0"
},

@@ -38,0 +38,0 @@ "peerDependencies": {

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

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