change font-size to be a range input with quick example

This commit is contained in:
Víctor Losada Hernández committed 2026-09-23 23:59:23 +02:00
1 parent fc8c6d9955
commit 6ec10d6f6f
3 files changed
+7 -16

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ const createSettingsExtensions = (settings)=>[
...(settings.fontSize
? [EditorView.theme({
'&, .cm-content' : {
fontSize : `${settings.fontSize}px`,
fontSize : `${settings.fontSize || 1}em`,
},
})]
: []),