import NoteContextAwareWidget from "../note_context_aware_widget.js"; import { t } from "../../services/i18n.js"; import type FNote from "../../entities/fnote.js"; import type BasicWidget from "../basic_widget.js"; /* * Note: * * For floating button widgets that require content to overflow, the has-overflow CSS class should * be applied to the root element of the widget. Additionally, this root element may need to * properly handle rounded corners, as defined by the --border-radius CSS variable. */ const TPL = `
`; export default class FloatingButtons extends NoteContextAwareWidget { private $children!: JQuery