0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 22:52:39 +00:00

Mostly working. Needs tweakages. Presentable

This commit is contained in:
David Bolack
2024-11-03 12:30:14 -06:00
parent b9b3d284cf
commit 7f7f3557b3
4 changed files with 18 additions and 14 deletions

View File

@@ -158,7 +158,7 @@ const Editor = createClass({
highlightCustomMarkdown : function(){
if(!this.codeEditor.current) return;
if(this.state.view === 'text') {
if(this.state.view === 'text') {
const codeMirror = this.codeEditor.current.codeMirror;
codeMirror.operation(()=>{ // Batch CodeMirror styling