select styled
This commit is contained in:
@@ -29,6 +29,7 @@ import { toast } from "@rustpad/toast";
|
||||
import { formatDateTime, formatNumber, formatTime, t, translateSource } from "@rustpad/i18n";
|
||||
import { getTheme } from "@rustpad/theme";
|
||||
import { isResourceAccessError } from "@rustpad/security";
|
||||
import { syncSelectControl } from "@rustpad/select";
|
||||
import { loadHighlight, loadMediaPlayer, loadMermaid } from "@rustpad/vendor-libs";
|
||||
|
||||
export function startNoteEditor(adapter) {
|
||||
@@ -169,6 +170,10 @@ export function startNoteEditor(adapter) {
|
||||
if (mobilePreviewLineToggle) mobilePreviewLineToggle.checked = previewLineToggle.checked;
|
||||
if (mobileCompactToggle) mobileCompactToggle.checked = compactToggle.checked;
|
||||
if (mobileLineLinksToggle) mobileLineLinksToggle.checked = lineLinksToggle.checked;
|
||||
syncSelectControl(fontFamily);
|
||||
syncSelectControl(fontSize);
|
||||
if (mobileFontFamily) syncSelectControl(mobileFontFamily);
|
||||
if (mobileFontSize) syncSelectControl(mobileFontSize);
|
||||
}
|
||||
syncMobileEditorControls();
|
||||
function updateAuthorshipControls() {
|
||||
|
||||
Reference in New Issue
Block a user