mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
add default value to custom CSS editor
This commit is contained in:
committed by
Junyoung Choi
parent
c667e1465d
commit
895aee3e6c
@@ -846,6 +846,7 @@ class UiTab extends React.Component {
|
|||||||
onChange={e => this.handleUIChange(e)}
|
onChange={e => this.handleUIChange(e)}
|
||||||
ref={e => (this.customCSSCM = e)}
|
ref={e => (this.customCSSCM = e)}
|
||||||
value={config.preview.customCSS}
|
value={config.preview.customCSS}
|
||||||
|
defaultValue={'/* Drop Your Custom CSS Code Here */\n'}
|
||||||
options={{
|
options={{
|
||||||
lineNumbers: true,
|
lineNumbers: true,
|
||||||
mode: 'css',
|
mode: 'css',
|
||||||
|
|||||||
Reference in New Issue
Block a user