dominiclet / obsidian-note-definitions

Obsidian plugin for seamless viewing of personal definitions
MIT License
111 stars 5 forks source link

Added a toggle for disabling spellcheck on defined words/phrases #101

Closed sheasewall closed 4 days ago

sheasewall commented 1 week ago

I considered implementing the logic as attributes.spellcheck = settings.enableSpellcheck.toString(); instead of only setting attributes.spellcheck = "false" if !settings.enableSpellcheck. However, that implementation would have the default settings (equivalent to previous functionality) cause every instance of a defined word/phrase to have the unnecessary tag (-spellcheck = "true".

sheasewall commented 1 week ago

99 This should do it.