options: [8, 10, 12, "default", 18, 24, 36],
},
toolbar: this.#getToolbar(),
+ ui: {
+ viewportOffset: {
+ top: 50,
+ },
+ },
woltlabToolbarGroup: this.#toolbarGroups,
} as any;
}
const elementData = this._elements.get(activeElement)!;
activeElement.classList.add("jsInvalidQuoteTarget");
+ const parent = activeElement.parentElement!;
+ if (parent.classList.contains("anchorFixedHeader")) {
+ parent.classList.add("disableAnchorFixedHeader");
+ }
+
const icon = elementData.messageBodyEditor!.querySelector("fa-icon")!;
icon.remove();
DomUtil.show(elementData.messageBody);
DomUtil.show(elementData.messageFooter);
DomUtil.show(elementData.messageHeader);
+
activeElement.classList.remove("jsInvalidQuoteTarget");
+ const parent = activeElement.parentElement!;
+ if (parent.classList.contains("anchorFixedHeader")) {
+ parent.classList.remove("disableAnchorFixedHeader");
+ }
this._activeElement = null;
options: [8, 10, 12, "default", 18, 24, 36],
},
toolbar: this.#getToolbar(),
+ ui: {
+ viewportOffset: {
+ top: 50,
+ },
+ },
woltlabToolbarGroup: this.#toolbarGroups,
};
}
const activeElement = this._activeElement;
const elementData = this._elements.get(activeElement);
activeElement.classList.add("jsInvalidQuoteTarget");
+ const parent = activeElement.parentElement;
+ if (parent.classList.contains("anchorFixedHeader")) {
+ parent.classList.add("disableAnchorFixedHeader");
+ }
const icon = elementData.messageBodyEditor.querySelector("fa-icon");
icon.remove();
const messageBody = elementData.messageBodyEditor;
Util_1.default.show(elementData.messageFooter);
Util_1.default.show(elementData.messageHeader);
activeElement.classList.remove("jsInvalidQuoteTarget");
+ const parent = activeElement.parentElement;
+ if (parent.classList.contains("anchorFixedHeader")) {
+ parent.classList.remove("disableAnchorFixedHeader");
+ }
this._activeElement = null;
if (this._options.quoteManager) {
this._options.quoteManager.clearAlternativeEditor();
border-radius: 0 !important;
}
+.ck.ck-sticky-panel__content {
+ --ck-z-modal: 1;
+}
+
html[data-color-scheme="dark"] {
.ck.ck-editor,
.ck.ck-body {