mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-09-23 07:32:58 +00:00
full functionality
This commit is contained in:
@@ -78,7 +78,7 @@ const Editor = forwardRef(
|
||||
blockShading: false,
|
||||
activeLineShading: true,
|
||||
lineNumbers: true,
|
||||
fontSize: 14
|
||||
fontSize: 13
|
||||
})
|
||||
|
||||
const editor = useRef(null);
|
||||
|
||||
@@ -52,7 +52,7 @@ const SettingsEditor = ({settings, updateSettings = () => {} }) => {
|
||||
return (
|
||||
<div className='settingsEditor'>
|
||||
<h1>Editor Settings</h1>
|
||||
|
||||
{/*
|
||||
<div className='field title'>
|
||||
<label htmlFor='blockShading'>
|
||||
Background Shading of blocks in editor
|
||||
@@ -64,6 +64,19 @@ const SettingsEditor = ({settings, updateSettings = () => {} }) => {
|
||||
checked={currentSettings.blockShading}
|
||||
onChange={(e) => handleFieldChange('blockShading', e)}
|
||||
/>
|
||||
</div> */}
|
||||
|
||||
<div className='field title'>
|
||||
<label htmlFor='autoCloseBrackets'>
|
||||
Automatically close brackets
|
||||
</label>
|
||||
<input
|
||||
id='autoCloseBrackets'
|
||||
type='checkbox'
|
||||
name='autoCloseBrackets'
|
||||
checked={currentSettings.autoCloseBrackets}
|
||||
onChange={(e) => handleFieldChange('autoCloseBrackets', e)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className='field title'>
|
||||
|
||||
Reference in New Issue
Block a user