Releases: KraXen72/obsidian-emoji-autocomplete
Releases · KraXen72/obsidian-emoji-autocomplete
1.4.1
1.4.0
Improved the performance of EmojiMarkdownProcessor - related issue: phibr0#47
Improvements:
- switched to
textContent
instead ofinnerText
-innerText
only takes into account visible text, so it was creating a forced reflow / recalculation of styles - added early-return to not even execute regex if element does not include a
:
- switched to normal
for
loops instead offorEach
for better performance - moved EmojiMarkdownProcessor to normal functions instead of a class with static methods
- switched to a faster
something == null
check instead oftypeof something === 'undefined'
- embedded skiped tagnames (
CODE
andMDX
) into if statement instead of doing anArray.prototype.some
every time - switched to
String.prototype.slice()
instead of 2 regex replaces to trim off the:
from a shortcode - removed unnecessary
typeof element.tagName === 'string'
check
Full Changelog: 1.3.0...1.4.0
1.3.0
update algo. cross_mark above lacrosse when searching for "cross"
Full Changelog: 1.2.0...1.3.0
1.2.1
return previous setting triggerFromFirst
Full Changelog: 1.2.0...1.2.1
1.2.0
- Revamp stricter trigger setting - now enabled by default, doesen't trigger on dataview inline metadtata fields or hh:mm/hh:mm:ss timestamps.
- fix some regex stuff.
Full Changelog: 1.1.2...1.2.0