[SOLVED] Cannot get folding to work.


#1

I have a project using CodeMirror, and despite having all the folding libraries included (I think), folding will not work.

My project is here:
https://ryanpcmcquen.org/standardnotes_org_mode_editor/

Source code is here:

It is meant as an extension to Standard Notes:

Do I have some simple error preventing folding?


#2

I was missing the gutter property:

gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"],