chore(quick_edit): get note content to render

This commit is contained in:
Elian Doran 2025-11-22 19:17:50 +02:00
parent 29f049c411
commit 5531c15126
No known key found for this signature in database
3 changed files with 15 additions and 8 deletions

View File

@ -2591,7 +2591,7 @@ iframe.print-iframe {
flex-direction: column;
}
.scrolling-container > .note-detail.full-height,
.note-detail.full-height,
.scrolling-container > .note-list-widget.full-height {
position: relative;
flex-grow: 1;

View File

@ -25,6 +25,8 @@ body.desktop .modal.popup-editor-dialog .modal-dialog {
padding: 0;
height: 75vh;
overflow: auto;
display: flex;
flex-direction: column;
}
.modal.popup-editor-dialog .note-detail-editable-text {

View File

@ -6,6 +6,7 @@ import NoteTitleWidget from "../note_title";
import NoteIcon from "../note_icon";
import NoteContext from "../../components/note_context";
import { ParentComponent } from "../react/react_utils";
import NoteDetail from "../NoteDetail";
const noteContext = new NoteContext("_popup-editor");
@ -31,18 +32,22 @@ export default function PopupEditor() {
return (
<Modal
title={(
<div className="title-row">
<NoteIcon />
<NoteTitleWidget />
</div>
)}
title={<TitleRow />}
className="popup-editor-dialog"
size="lg"
show={shown}
onHidden={() => setShown(false)}
>
Body goes here
<NoteDetail />
</Modal>
)
}
export function TitleRow() {
return (
<div className="title-row">
<NoteIcon />
<NoteTitleWidget />
</div>
)
}