diff --git a/app/src/components/contribute/editor/Editor.css b/app/src/components/contribute/editor/Editor.css index f8111dca..1f08ca68 100644 --- a/app/src/components/contribute/editor/Editor.css +++ b/app/src/components/contribute/editor/Editor.css @@ -982,8 +982,8 @@ body.editor-fullscreen [class*="_toolbarRoot"] { border-right: none !important; border-bottom: 1px solid hsl(var(--border) / 0.6) !important; background-color: hsl(var(--card) / 0.85) !important; - backdrop-filter: blur(8px) !important; - -webkit-backdrop-filter: blur(8px) !important; + backdrop-filter: none !important; + -webkit-backdrop-filter: none !important; box-shadow: inset 0 1px 0 hsl(var(--foreground) / 0.05), 0 1px 3px rgba(0, 0, 0, 0.04) !important; diff --git a/app/src/components/contribute/editor/EditorToolbar.tsx b/app/src/components/contribute/editor/EditorToolbar.tsx index 2f3f0907..7418f766 100644 --- a/app/src/components/contribute/editor/EditorToolbar.tsx +++ b/app/src/components/contribute/editor/EditorToolbar.tsx @@ -56,6 +56,12 @@ import { PopoverContent, PopoverTrigger, } from "@/components/ui/popover"; +import { + Tooltip, + TooltipContent, + TooltipProvider, + TooltipTrigger, +} from "@/components/ui/tooltip.tsx"; function CustomBlockTypeSelect() { const [open, setOpen] = useState(false); @@ -110,40 +116,58 @@ function CustomBlockTypeSelect() { return ( - - - + + + + + + + + Select Block Type + + e.preventDefault()} >
Block Type
+ + {hasHeadings && allowedHeadingLevels.map((lvl) => { const hTag = `h${lvl}`; + return ( ); })} + {hasQuote && ( - - e.preventDefault()} - > -
LaTeX Equations
- - -
-
+ +
+ + + + + + +
+ + + +
+ +
+ + - {/* Insert Dropdown using Popover */} - - - - - e.preventDefault()} - > -
Elements
-