import { observer } from "mobx-react"; // editor import { EditorRefApi } from "@plane/document-editor"; // ui import { TextArea } from "@plane/ui"; type Props = { editorRef: React.RefObject; readOnly: boolean; title: string; updateTitle: (title: string) => void; }; export const PageEditorTitle: React.FC = observer((props) => { const { editorRef, readOnly, title, updateTitle } = props; return ( <> {readOnly ? (
{title}
) : (