Skip to content

Commit

Permalink
Export $hasUpdateTag (#4216)
Browse files Browse the repository at this point in the history
  • Loading branch information
nemophrost authored Mar 28, 2023
1 parent 6ce567d commit 2652659
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/lexical-selection/src/__tests__/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ export async function applySelectionInputs(inputs, update, editor) {
{
clipboardData: {
getData: (type) => {
if (type === 'application/x-lexical-nodes') {
if (type === 'application/x-lexical-editor') {
return input.text;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/lexical/src/LexicalNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ export class LexicalNode {

/**
* Controls how the this node is deserialized from JSON. This is usually boilerplate,
* but provides an abstraction betweent he node implementation and serialized interfaec that can
* but provides an abstraction between the node implementation and serialized interface that can
* be important if you ever make breaking changes to a node schema (by adding or removing properties).
* See [Serialization & Deserialization](https://lexical.dev/docs/concepts/serialization#lexical---html).
*
Expand Down
1 change: 1 addition & 0 deletions packages/lexical/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ export {
$getNodeByKey,
$getRoot,
$hasAncestor,
$hasUpdateTag,
$isInlineElementOrDecoratorNode,
$isLeafNode,
$isRootOrShadowRoot,
Expand Down

2 comments on commit 2652659

@vercel
Copy link

@vercel vercel bot commented on 2652659 Mar 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

lexical – ./packages/lexical-website

lexical-git-main-fbopensource.vercel.app
lexical-fbopensource.vercel.app
www.lexical.dev
lexicaljs.org
lexicaljs.com
lexical.dev

@vercel
Copy link

@vercel vercel bot commented on 2652659 Mar 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

lexical-playground – ./packages/lexical-playground

lexical-playground.vercel.app
playground.lexical.dev
lexical-playground-git-main-fbopensource.vercel.app
lexical-playground-fbopensource.vercel.app

Please sign in to comment.