update wysiwyg

This commit is contained in:
Juergen Kunz
2025-06-27 19:25:34 +00:00
parent fe3cd0591f
commit 24957f02d4
11 changed files with 934 additions and 178 deletions

View File

@ -429,36 +429,7 @@ export const wysiwygStyles = css`
user-select: none;
}
/* Block Settings Button */
.block-settings {
position: absolute;
right: -40px;
top: 50%;
transform: translateY(-50%);
width: 28px;
height: 28px;
cursor: pointer;
opacity: 0;
transition: opacity 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
color: ${cssManager.bdTheme('#71717a', '#71717a')};
border-radius: 4px;
}
.block-wrapper:hover .block-settings {
opacity: 1;
}
.block-settings:hover {
color: ${cssManager.bdTheme('#71717a', '#a1a1aa')};
background: ${cssManager.bdTheme('#f4f4f5', '#27272a')};
}
.block-settings:active {
background: ${cssManager.bdTheme('#e5e7eb', '#3f3f46')};
}
/* Block Settings Button - Removed in favor of context menu */
/* Text Selection Styles */
.block ::selection {