0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-03 06:12:51 +00:00

Shift Footer generation to snippet

This commit is contained in:
G.Ambatte
2023-06-03 13:30:32 +12:00
parent 052c255068
commit d2b2e69123
5 changed files with 30 additions and 36 deletions

View File

@@ -323,7 +323,8 @@ const Editor = createClass({
theme={this.props.brew.theme}
undo={this.undo}
redo={this.redo}
historySize={this.historySize()} />
historySize={this.historySize()}
cursorPos={this.refs.codeEditor?.getCursorPosition() || {}} />
{this.renderEditor()}
</div>