add image previews to settings

This commit is contained in:
Víctor Losada Hernández
2026-08-26 21:49:21 +02:00
parent a83ac83ed3
commit 2fc135724f
4 changed files with 21 additions and 6 deletions
@@ -79,6 +79,19 @@ const SettingsEditor = ({settings, updateSettings = () => {} }) => {
/>
</div>
<div className='field title'>
<label htmlFor='showImagePreviews'>
Show Image Previews when hovering a link
</label>
<input
id='showImagePreviews'
type='checkbox'
name='showImagePreviews'
checked={currentSettings.showImagePreviews}
onChange={(e) => handleFieldChange('showImagePreviews', e)}
/>
</div>
<div className='field title'>
<label htmlFor='activeLineShading'>
Background shading of active line