1
0
mirror of https://github.com/flarum/core.git synced 2025-08-05 07:57:46 +02:00

fix: don't spellcheck custom LESS

This should stop browsers from "correcting" code, and from converting regular quotes to "smart" quotes.
This commit is contained in:
Alexander Skvortsov
2022-01-08 18:31:44 -05:00
committed by Alexander Skvortsov
parent a30077251b
commit 3aa47d20ee

View File

@@ -18,7 +18,7 @@ export default class EditCustomCssModal extends SettingsModal {
})}
</p>,
<div className="Form-group">
<textarea className="FormControl" rows="30" bidi={this.setting('custom_less')} />
<textarea className="FormControl" rows="30" bidi={this.setting('custom_less')} spellcheck={false} />
</div>,
];
}