diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 77d1ba4..fe40404 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ on: - .github/workflows/semgrep.yml schedule: # random HH:MM to avoid a load spike on GitHub Actions at 00:00 - - cron: '50 2 * * *' + - cron: "50 2 * * *" jobs: semgrep: name: semgrep/ci diff --git a/package-lock.json b/package-lock.json index c51e213..040d4f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@yext/react-components", - "version": "0.0.5", + "version": "0.0.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@yext/react-components", - "version": "0.0.5", + "version": "0.0.6", "dependencies": { "@lexical/code": "^0.9.0", "@lexical/hashtag": "^0.9.0", diff --git a/package.json b/package.json index a37a580..4d277bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@yext/react-components", - "version": "0.0.5", + "version": "0.0.6", "description": "", "author": "slapshot@yext.com", "types": "./lib/esm/index.d.ts", diff --git a/src/components/richText/LexicalRichText.tsx b/src/components/richText/LexicalRichText.tsx index 566f079..93e7534 100644 --- a/src/components/richText/LexicalRichText.tsx +++ b/src/components/richText/LexicalRichText.tsx @@ -11,6 +11,7 @@ import { ListPlugin } from "@lexical/react/LexicalListPlugin"; import { CodeHighlightNode, CodeNode } from "@lexical/code"; import { AutoLinkNode, LinkNode } from "@lexical/link"; import { HeadingNode, QuoteNode } from "@lexical/rich-text"; +import { HorizontalRuleNode } from "@lexical/react/LexicalHorizontalRuleNode"; import { HashtagNode } from "@lexical/hashtag"; import { EditorThemeClasses } from "lexical"; import DefaultNodeStyling from "./DefaultStyling"; @@ -79,6 +80,7 @@ function generateConfig( TableRowNode, AutoLinkNode, LinkNode, + HorizontalRuleNode, ], }; }