mirror of
https://github.com/facebook/lexical.git
synced 2025-08-06 16:39:33 +08:00

The `LexicalMarkdownShortcutPlugin` package extends the defaults from `@lexical/markdown` with a HR transform but didn't expose that default list making it harder for anyone wanting to use the defaults plus their own extensions.
17 lines
428 B
Plaintext
17 lines
428 B
Plaintext
/**
|
|
* 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.
|
|
*
|
|
* @flow strict
|
|
*/
|
|
|
|
import type {Transformer} from '@lexical/markdown';
|
|
|
|
declare export var DEFAULT_TRANSFORMERS: Array<Transformer>;
|
|
|
|
declare export function MarkdownShortcutPlugin({
|
|
transformers?: Array<Transformer>,
|
|
}): React$Node;
|