You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

@udecode/plate-highlight

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/plate-highlight - npm Package Compare versions

Comparing version

to
22.0.0

import { createPluginFactory, onKeyDownToggleMark } from '@udecode/plate-common';
const MARK_HIGHLIGHT = 'highlight';
/**

@@ -8,3 +9,2 @@ * Enables support for highlights, useful when reviewing

*/
const createHighlightPlugin = createPluginFactory({

@@ -11,0 +11,0 @@ key: MARK_HIGHLIGHT,

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var plateCommon = require('@udecode/plate-common');
const MARK_HIGHLIGHT = 'highlight';
/**

@@ -12,3 +11,2 @@ * Enables support for highlights, useful when reviewing

*/
const createHighlightPlugin = plateCommon.createPluginFactory({

@@ -15,0 +13,0 @@ key: MARK_HIGHLIGHT,

{
"name": "@udecode/plate-highlight",
"version": "21.5.0",
"version": "22.0.0",
"description": "Highlight plugin for Plate",
"license": "MIT",
"homepage": "https://plate.udecode.io",
"homepage": "https://platejs.org",
"repository": {
"type": "git",
"url": "https://github.com/udecode/plate.git",
"directory": "packages/nodes/highlight"
"directory": "packages/highlight"
},

@@ -21,4 +21,15 @@ "bugs": {

"types": "dist/index.d.ts",
"scripts": {
"build": "yarn p:build",
"build:watch": "yarn p:build:watch",
"brl": "yarn p:brl",
"clean": "yarn p:clean",
"lint": "yarn p:lint",
"lint:fix": "yarn p:lint:fix",
"test": "yarn p:test",
"test:watch": "yarn p:test:watch",
"typecheck": "yarn p:typecheck"
},
"dependencies": {
"@udecode/plate-common": "21.5.0"
"@udecode/plate-common": "22.0.0"
},

@@ -30,3 +41,3 @@ "peerDependencies": {

"slate-history": ">=0.93.0",
"slate-react": ">=0.94.0"
"slate-react": ">=0.95.0"
},

@@ -33,0 +44,0 @@ "keywords": [

@@ -7,10 +7,6 @@ # Plate highlight plugin

Check out [Highlight](https://plate.udecode.io/docs/plugins/highlight).
Check out [Highlight](https://platejs.org/docs/highlight).
## API
See the [API documentation](https://plate-api.udecode.io/globals.html).
## License
[MIT](../../../LICENSE)
[MIT](../../LICENSE)

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