asdasd
This commit is contained in:
@@ -1 +1 @@
|
|||||||
1.1.72
|
1.1.73
|
||||||
@@ -697,6 +697,7 @@
|
|||||||
btn.setAttribute('aria-label', title);
|
btn.setAttribute('aria-label', title);
|
||||||
btn.className = 'bridge-rte-btn';
|
btn.className = 'bridge-rte-btn';
|
||||||
btn.setAttribute('data-bridge-rte', 'button');
|
btn.setAttribute('data-bridge-rte', 'button');
|
||||||
|
btn.classList.add('bridge-rte-btn--tool');
|
||||||
btn.style.padding = '8px 12px';
|
btn.style.padding = '8px 12px';
|
||||||
btn.style.border = '1px solid #cbd5f5';
|
btn.style.border = '1px solid #cbd5f5';
|
||||||
btn.style.borderRadius = '4px';
|
btn.style.borderRadius = '4px';
|
||||||
@@ -1159,6 +1160,11 @@
|
|||||||
);
|
);
|
||||||
const fontSelect = addSelect([{ label: 'Schriftart', value: '' }, ...fontOptions], 'Schriftart', (value) => {
|
const fontSelect = addSelect([{ label: 'Schriftart', value: '' }, ...fontOptions], 'Schriftart', (value) => {
|
||||||
if (!value) return;
|
if (!value) return;
|
||||||
|
const range = getSelectionRange();
|
||||||
|
if (range && !range.collapsed) {
|
||||||
|
applyInlineStyle('fontFamily', value);
|
||||||
|
return;
|
||||||
|
}
|
||||||
pendingComponentStyle.fontFamily = value;
|
pendingComponentStyle.fontFamily = value;
|
||||||
applyComponentStyle({ fontFamily: value }, { preview: true });
|
applyComponentStyle({ fontFamily: value }, { preview: true });
|
||||||
}, toolbarSecondary);
|
}, toolbarSecondary);
|
||||||
@@ -1222,15 +1228,20 @@
|
|||||||
border-top: 1px dashed #e2e8f0;
|
border-top: 1px dashed #e2e8f0;
|
||||||
}
|
}
|
||||||
.bridge-rte-btn {
|
.bridge-rte-btn {
|
||||||
font-size: 16px;
|
font-size: 14px;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
min-height: 40px;
|
min-height: 30px;
|
||||||
min-width: 40px;
|
min-width: 30px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #0f172a;
|
color: #0f172a;
|
||||||
background: #f8fafc;
|
background: #f8fafc;
|
||||||
}
|
}
|
||||||
.bridge-rte-btn svg { width: 18px; height: 18px; }
|
.bridge-rte-btn--tool {
|
||||||
|
font-size: 16px;
|
||||||
|
min-height: 40px;
|
||||||
|
min-width: 40px;
|
||||||
|
}
|
||||||
|
.bridge-rte-btn--tool svg { width: 18px; height: 18px; }
|
||||||
.bridge-rte-select {
|
.bridge-rte-select {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
min-height: 40px;
|
min-height: 40px;
|
||||||
|
|||||||
Reference in New Issue
Block a user