diff --git a/src/components/LexicalEditor/Index.jsx b/src/components/LexicalEditor/Index.jsx index 51f65f3..e32aeae 100644 --- a/src/components/LexicalEditor/Index.jsx +++ b/src/components/LexicalEditor/Index.jsx @@ -32,6 +32,10 @@ import { ImageNode } from './nodes/ImageNode'; import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext'; // import { useLexicalEditable } from '@lexical/react/useLexicalEditable'; +import {TablePlugin} from '@lexical/react/LexicalTablePlugin'; +import {useLexicalEditable} from '@lexical/react/useLexicalEditable'; + + import { $getRoot, $getSelection, $createParagraphNode } from 'lexical'; import { $generateHtmlFromNodes, $generateNodesFromDOM, } from '@lexical/html'; // import { } from '@lexical/clipboard'; diff --git a/src/components/LexicalEditor/styles.css b/src/components/LexicalEditor/styles.css index 6e6c4b2..478cc49 100644 --- a/src/components/LexicalEditor/styles.css +++ b/src/components/LexicalEditor/styles.css @@ -644,6 +644,9 @@ button.item.dropdown-item-active { .dropdown .item.font-m-Georgia { font-family: Georgia, serif; } +.dropdown .item.font-m-Roboto { + font-family: Roboto; +} .dropdown .item.font-m-Times_New_Roman { font-family: 'Times New Roman', serif; } diff --git a/src/views/Conversations/Online/Input/EmailEditorPopup.jsx b/src/views/Conversations/Online/Input/EmailEditorPopup.jsx index a0201f0..21e557e 100644 --- a/src/views/Conversations/Online/Input/EmailEditorPopup.jsx +++ b/src/views/Conversations/Online/Input/EmailEditorPopup.jsx @@ -207,10 +207,10 @@ const EmailEditorPopup = ({ open, setOpen, fromEmail, reference, quote = {}, ini title={initialForm.subject || `${reference ? '回复: ' : '写邮件: '} ${fromEmail || ''}`} footer={
- - + setOpenPlainTextConfirm(false)}> 纯文本