mirror of https://github.com/fantasticit/think.git
tiptap: update katex empty message
This commit is contained in:
parent
e928981c08
commit
42ec024279
|
@ -29,7 +29,7 @@ export const KatexWrapper = ({ node }) => {
|
||||||
text.trim() ? (
|
text.trim() ? (
|
||||||
<span contentEditable={false} dangerouslySetInnerHTML={{ __html: formatText }}></span>
|
<span contentEditable={false} dangerouslySetInnerHTML={{ __html: formatText }}></span>
|
||||||
) : (
|
) : (
|
||||||
<span contentEditable={false}>点击输入公式</span>
|
<span contentEditable={false}>用户未输入公式</span>
|
||||||
),
|
),
|
||||||
[text, formatText]
|
[text, formatText]
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue