obsidian-text-expander
obsidian-text-expander copied to clipboard
Doesn't work with the new Obsidian editor
I'm using Obsidian v0.13.8. Text expander stopped working, the Tab command just indent the {{trigger}} without actual substitution. When I switched to the Legacy Editor at the Editor section, everything starts working again.
+1
+1 my text just gets tabbed and becomes red
The plugin relies on CM5 (considered legacy since v13.0.0) and its failure is expected when used with CM6. Unfortunately, I have no plans to upgrade the plugin to CM6 in its current condition. I thought about dropping shell support in favor of JS-defined scripts to support mobile devices. Since this change requires full refactoring, it could be the right point to move to CM6, but I cannot give any timeline right now.
Use ChatGPT to port aka. refactor the code @konodyuk to save time.
IMHO, I think refactoring the plugin to use JS would not be such a good approach. If you know how to use JS you could probably achive similar results with different way (for example having JS scripts inside obsidian). I think one of the very good point of this plugin is the possibility to use directly BASH as a backend.