Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(ckeditor5): keep the math form's tooltip rescue to MathLive's own tooltips
Elian Doran5e02f7d19bcb
diff --git a/packages/ckeditor5/src/theme/math_form.css b/packages/ckeditor5/src/theme/math_form.cssindex da9875ec2c..f0ff0dd8d1 100644--- a/packages/ckeditor5/src/theme/math_form.css+++ b/packages/ckeditor5/src/theme/math_form.css@@ -8,7 +8,11 @@.mathlive-suggestions-popover, [data-ml-tooltip], .ML__base {z-index: calc(var(--ck-z-panel) + 1000) !important;}-.ML__tooltip, [role="tooltip"], .ML__popover[role="tooltip"], .popover, [data-ml-tooltip] {+/* MathLive's own floating UI only — never a bare [role="tooltip"] or .popover, which would reach+ every tooltip and popover in the whole app the moment the editor's CSS loads. The forced+ `position: fixed` once collapsed the geo map's marker preview (a MapLibre popup wrapping the+ app's note tooltip, role and all) to a zero-size box that spilled its content across the map. */+.ML__tooltip, .ML__popover[role="tooltip"], [data-ml-tooltip] {z-index: calc(var(--ck-z-panel) + 2000) !important;position: fixed !important;}