UNPKG

@lexical/rich-text

Version:

This package contains rich text helpers for Lexical.

18 lines (17 loc) 770 B
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ const mod = await (process.env.NODE_ENV !== 'production' ? import('./LexicalRichText.dev.mjs') : import('./LexicalRichText.prod.mjs')); export const $createHeadingNode = mod.$createHeadingNode; export const $createQuoteNode = mod.$createQuoteNode; export const $isHeadingNode = mod.$isHeadingNode; export const $isQuoteNode = mod.$isQuoteNode; export const DRAG_DROP_PASTE = mod.DRAG_DROP_PASTE; export const HeadingNode = mod.HeadingNode; export const QuoteNode = mod.QuoteNode; export const eventFiles = mod.eventFiles; export const registerRichText = mod.registerRichText;