Hi! First, to the author of Outliner plugin: thanks for creating this useful plugin. I thought of filing a bug report as it may help.
Steps to reproduce
- Install Outliner plugin.
- Typo any listing, bulleted or numbered. Here, e.g., - (minus or hyphen)
- Press enter/return.
Expected result
- “-” (minus or hyphen) is automatically typed in the next line.
Actual result
- “-” (minus or hyphen) is not automatically typed in the next line.
Environment
- Operating system: macOS Monterey 12.4
- Debug info:
TypeError: language.foldedRanges is not a function
at MyEditor.getAllFoldedLines (plugin:obsidian-outliner:1022)
at ParserService.parseWithLimits (plugin:obsidian-outliner:2293)
at ParserService.parse (plugin:obsidian-outliner:2217)
at PerformOperationService.performOperation (plugin:obsidian-outliner:2385)
at EnterOutdentIfLineIsEmptyFeature.run (plugin:obsidian-outliner:422)
at eval (plugin:obsidian-outliner:2176)
at c (app.js:1)
at dc (app.js:1)
at Object.keydown (app.js:1)
at t.runCustomHandlers (app.js:1)
Additional information
My initial post:
I hope this helps.