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

@udecode/slate-react

Package Overview
Dependencies
Maintainers
0
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/slate-react - npm Package Compare versions

Comparing version 41.0.0 to 41.0.5

23

dist/index.d.ts

@@ -5,7 +5,6 @@ import { TEditor, TNode, Value, TSelection, TElement, TText, TNodeEntry, NodeOf, TNodeProps, SetNodesOptions } from '@udecode/slate';

import * as slate_dom from 'slate-dom';
import { DOMNode, DOMPoint } from 'slate-dom';
import { DOMNode, DOMPoint, DOMRange } from 'slate-dom';
import { ReactEditor } from 'slate-react';
import React$1 from 'react';
import { UnknownObject } from '@udecode/utils';
import { EditableProps } from 'slate-react/dist/components/editable';

@@ -126,6 +125,24 @@ /** Blur the editor. */

type TEditableProps = {
renderPlaceholder?: (props: {
attributes: {
contentEditable: boolean;
'data-slate-placeholder': boolean;
ref: React.RefCallback<any>;
style: React.CSSProperties;
dir?: 'rtl';
};
children: any;
}) => JSX.Element;
as?: React.ElementType;
decorate?: (entry: TNodeEntry) => Range[];
disableDefaultStyles?: boolean;
placeholder?: string;
readOnly?: boolean;
renderElement?: RenderElementFn;
renderLeaf?: RenderLeafFn;
} & Omit<EditableProps, 'decorate' | 'renderElement' | 'renderLeaf'>;
role?: string;
scrollSelectionIntoView?: (editor: TEditor, domRange: DOMRange) => void;
style?: React.CSSProperties;
onDOMBeforeInput?: (event: InputEvent) => void;
} & React.TextareaHTMLAttributes<HTMLDivElement>;

@@ -132,0 +149,0 @@ /** Focus an editor edge. */

2

package.json
{
"name": "@udecode/slate-react",
"version": "41.0.0",
"version": "41.0.5",
"description": "Slate extension",

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

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