/* MIT License Copyright (c) Meta Platforms, Inc. and affiliates. This source code is licensed under the MIT license found in the LICENSE file in the /app/soapbox/features/compose/editor directory. */ import { CodeHighlightNode, CodeNode } from '@lexical/code'; import { HashtagNode } from '@lexical/hashtag'; import { AutoLinkNode, LinkNode } from '@lexical/link'; import { ListItemNode, ListNode } from '@lexical/list'; import { HorizontalRuleNode } from '@lexical/react/LexicalHorizontalRuleNode'; import { HeadingNode, QuoteNode } from '@lexical/rich-text'; import { EmojiNode } from './nodes/emoji-node'; import { MentionNode } from './nodes/mention-node'; import type { Klass, LexicalNode } from 'lexical'; const ComposeNodes: Array> = [ HeadingNode, QuoteNode, CodeNode, CodeHighlightNode, AutoLinkNode, LinkNode, ListItemNode, ListNode, HorizontalRuleNode, HashtagNode, EmojiNode, MentionNode, ]; export default ComposeNodes;