@flogeez/angular-tiptap-editor 0.5.4 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,17 +15,23 @@
15
15
  display: flex !important;
16
16
  align-items: center;
17
17
  gap: 6px;
18
- background: var(--ate-menu-bg, rgba(255, 255, 255, 0.95)) !important;
19
- backdrop-filter: blur(var(--ate-menu-blur, 12px));
18
+ background: var(--ate-menu-bg, rgb(255, 255, 255)) !important;
20
19
  border: 1px solid var(--ate-menu-border, rgba(0, 0, 0, 0.1));
21
- border-radius: var(--ate-border-radius, 16px);
22
- padding: 8px 12px;
20
+ border-radius: var(--ate-menu-border-radius, 16px);
21
+ padding: var(--ate-menu-padding, 6px 12px);
23
22
  box-shadow: var(--ate-menu-shadow, 0 8px 32px rgba(0, 0, 0, 0.12));
24
23
  z-index: 1000;
25
24
  animation: slideUp 0.18s cubic-bezier(0, 0, 0.2, 1);
26
25
  white-space: nowrap;
27
26
  }
28
27
 
28
+ /* Cache le menu intelligemment si la source (le slash) est scrollée hors vue */
29
+ .tippy-box[data-reference-hidden] {
30
+ opacity: 0 !important;
31
+ transition: opacity 0.18s cubic-bezier(0, 0, 0.2, 1);
32
+ pointer-events: none !important;
33
+ }
34
+
29
35
  .bubble-menu .tiptap-separator {
30
36
  width: 1px;
31
37
  height: 28px;