change font-size to be a range input with quick example
This commit is contained in:
1 parent
fc8c6d9955
commit
6ec10d6f6f
3 files changed
+7
-16
No files matched your search
@@ -87,7 +87,7 @@ const createSettingsExtensions = (settings)=>[
|
||||
...(settings.fontSize
|
||||
? [EditorView.theme({
|
||||
'&, .cm-content' : {
|
||||
fontSize : `${settings.fontSize}px`,
|
||||
fontSize : `${settings.fontSize || 1}em`,
|
||||
},
|
||||
})]
|
||||
: []),
|
||||
|
||||
Reference in new issue
Block a user