1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

Mobile: Rich Text Editor: Accessibility: Fix font size setting not respected (#13174)

This commit is contained in:
Henry Heino
2025-09-10 02:05:51 -07:00
committed by GitHub
parent 7237d7faa7
commit fd15d5a6d3
2 changed files with 5 additions and 2 deletions

View File

@@ -44,11 +44,14 @@ const useMessenger = (props: UseMessengerProps) => {
onAttachRef.current = props.onAttachFile;
const markupRenderingSettings = useRef<RenderOptions>(null);
const baseTheme = props.settings.themeData;
markupRenderingSettings.current = {
themeId: props.themeId,
highlightedKeywords: [],
resources: props.noteResources,
themeOverrides: {},
themeOverrides: {
noteViewerFontSize: `${baseTheme.fontSize}${baseTheme.fontSizeUnits ?? 'px'}`,
},
noteHash: '',
initialScroll: 0,
pluginAssetContainerSelector: null,