mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 21:16:00 +00:00
custom editor size #345
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
{ label: '15', value: '15' },
|
||||
{ label: '16', value: '16' },
|
||||
{ label: '17', value: '17' },
|
||||
{ label: 'Custom', value: 'custom' },
|
||||
];
|
||||
</script>
|
||||
|
||||
@@ -433,7 +434,7 @@
|
||||
});
|
||||
defaultFontSize = editor.getFontSize();
|
||||
if ($currentEditorFontSize) {
|
||||
editor.setFontSize($currentEditorFontSize);
|
||||
editor.setFontSize(parseInt($currentEditorFontSize) || 12);
|
||||
}
|
||||
|
||||
editor.on('changeSelection', () => {
|
||||
|
||||
Reference in New Issue
Block a user