@lexical/mark
Version:
This package contains helpers and nodes for wrapping content in marks for Lexical.
18 lines (17 loc) • 712 B
JavaScript
/**
* 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.
*
*/
import * as modDev from './LexicalMark.dev.mjs';
import * as modProd from './LexicalMark.prod.mjs';
const mod = process.env.NODE_ENV !== 'production' ? modDev : modProd;
export const $createMarkNode = mod.$createMarkNode;
export const $getMarkIDs = mod.$getMarkIDs;
export const $isMarkNode = mod.$isMarkNode;
export const $unwrapMarkNode = mod.$unwrapMarkNode;
export const $wrapSelectionInMarkNode = mod.$wrapSelectionInMarkNode;
export const MarkExtension = mod.MarkExtension;
export const MarkNode = mod.MarkNode;