mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
Add new future resize editor & Preview Panes by dragging.(#1977)
This commit is contained in:
@@ -499,6 +499,7 @@ export default class CodeEditor extends React.Component {
|
||||
fontFamily = _.isString(fontFamily) && fontFamily.length > 0
|
||||
? [fontFamily].concat(defaultEditorFontFamily)
|
||||
: defaultEditorFontFamily
|
||||
let width = this.props.width
|
||||
return (
|
||||
<div
|
||||
className={className == null
|
||||
@@ -509,7 +510,8 @@ export default class CodeEditor extends React.Component {
|
||||
tabIndex='-1'
|
||||
style={{
|
||||
fontFamily: fontFamily.join(', '),
|
||||
fontSize: fontSize
|
||||
fontSize: fontSize,
|
||||
width: width
|
||||
}}
|
||||
onDrop={(e) => this.handleDropImage(e)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user