0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-01 17:22:42 +00:00
This commit is contained in:
David Bolack
2024-05-20 16:21:02 -05:00
parent bacdd65025
commit 835ca0de32
2 changed files with 14 additions and 8 deletions

View File

@@ -94,6 +94,11 @@ const Editor = createClass({
},
componentDidUpdate : function(prevProps, prevState, snapshot) {
console.log(this.props);
console.log(prevProps);
console.log(this.state);
console.log(prevState);
this.highlightCustomMarkdown();
if(prevProps.moveBrew !== this.props.moveBrew) {
this.brewJump();
@@ -126,7 +131,7 @@ const Editor = createClass({
if(e.keyCode == SCROLLLOCK_KEY) {
liveScroll = !liveScroll;
}
if(!(e.ctrlKey || e.metaKey)) return;
// Handle CTRL-HOME and CTRL-END