@mdxeditor/editor 1.4.3 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -53,6 +53,7 @@ export declare class CodeBlockNode extends DecoratorNode<JSX.Element> {
|
|
|
53
53
|
setLanguage: (language: string) => void;
|
|
54
54
|
select: () => void;
|
|
55
55
|
decorate(editor: LexicalEditor): JSX.Element;
|
|
56
|
+
isInline(): boolean;
|
|
56
57
|
}
|
|
57
58
|
interface CodeBlockEditorContainerProps extends CodeBlockEditorProps {
|
|
58
59
|
/** The Lexical editor that contains the node */
|
|
@@ -91,6 +91,9 @@ class CodeBlockNode extends DecoratorNode {
|
|
|
91
91
|
}
|
|
92
92
|
);
|
|
93
93
|
}
|
|
94
|
+
isInline() {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
94
97
|
}
|
|
95
98
|
const CodeBlockEditorContext = React__default.createContext(null);
|
|
96
99
|
const CodeBlockEditorContextProvider = ({ parentEditor, lexicalNode, children }) => {
|