Skip to content

Commit

Permalink
Update nodes.md
Browse files Browse the repository at this point in the history
1 update to grammar
  • Loading branch information
DocAdam authored Jan 27, 2025
1 parent 212b70f commit bb55cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lexical-website/docs/concepts/nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export class CustomParagraph extends ElementNode {

It's also good etiquette to provide some `$` prefixed utility functions for
your custom `ElementNode` so that others can easily consume and validate nodes
are that of your custom node. Here's how you might do this for the above example:
that are of your custom node. Here's how you might do this for the above example:

```js
export function $createCustomParagraphNode(): CustomParagraph {
Expand Down

0 comments on commit bb55cbe

Please sign in to comment.