Commit Graph
12 Commits
Author SHA1 Message Date
Charlie Humphreys 1c648e5c2d Update less for line-height em changes due to renderer changes in Chrome 96
#1828
2021-11-16 23:34:48 -06:00
Charlie Humphreys ecfda87262 Update legacy less for font-size and line-height em cases due to renderer changes in Chrome 96
#1828
2021-11-16 17:16:55 -06:00
Charlie Humphreys 1ec1ddc80c Remove code fold toggling shortcut
#629
2021-11-14 09:58:41 -06:00
Charlie Humphreys 2d30ac21a7 Update code based on PR feedback
#692
2021-11-11 17:08:05 -06:00
Charlie Humphreys 52d7e6892b Adjust comment to better describe the require section
#629
2021-11-10 11:37:18 -06:00
Charlie Humphreys cac9e208df Update editor.jsx to only clear marks that are not folds
#629
2021-11-10 10:27:32 -06:00
Charlie Humphreys c86e8c51cb Remove code added for debugging purposes
#629
2021-11-10 10:26:55 -06:00
Charlie Humphreys 3abb399045 Update homebrewery fold helper to allow folding the last page to the end of the document
#629
2021-11-09 10:08:48 -06:00
Charlie Humphreys b06dedfa4a Fix linting issues
#629
2021-11-08 17:24:33 -06:00
Charlie Humphreys f3d0d3e2c9 Add new library files to the browserify lib array
#629
2021-11-08 17:24:22 -06:00
Charlie Humphreys eec6e66543 Replace copied code with require methods to import the CodeMirror helpers
Put back the correct require notation for importing the foldcode and foldgutter helpers

#629
2021-11-07 21:35:35 -06:00
Charlie Humphreys c0b9f4488f Add code folding feature for all content within a single page
Added the gutter definitions and css for code folding. Enabling code folding in the editor was
tricky due to how CodeMirror loads its files. At the moment, the CodeMirror code-folding code has
been copied into the fold-code.js file. Additionally, that file contains the helper registration
for the Homebrewery-specific code folding function.

#629
2021-11-02 22:40:17 -05:00