feat(popup_editor): enable floating buttons

This commit is contained in:
Elian Doran
2025-11-24 21:45:33 +02:00
parent 2158f69c09
commit 015d70afb6
2 changed files with 7 additions and 3 deletions

View File

@@ -12,6 +12,9 @@ import NoteList from "../collections/NoteList";
import StandaloneRibbonAdapter from "../ribbon/components/StandaloneRibbonAdapter";
import FormattingToolbar from "../ribbon/FormattingToolbar";
import PromotedAttributes from "../PromotedAttributes";
import FloatingButtons from "../FloatingButtons";
import { DESKTOP_FLOATING_BUTTONS, MOBILE_FLOATING_BUTTONS } from "../FloatingButtonsDefinitions";
import utils from "../../services/utils";
export default function PopupEditor() {
const [ shown, setShown ] = useState(false);
@@ -51,6 +54,7 @@ export default function PopupEditor() {
>
<PromotedAttributes />
<StandaloneRibbonAdapter component={FormattingToolbar} />
<FloatingButtons items={utils.isMobile() ? MOBILE_FLOATING_BUTTONS : DESKTOP_FLOATING_BUTTONS} />
<NoteDetail />
<NoteList media="screen" displayOnlyCollections />
</Modal>