All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.2.4 (2016-05-31)
2.2.3 (2016-02-22)
2.2.2 (2016-02-17)
- TCMention: use this.base.unsubscribe (db9044c)
2.2.1 (2016-02-17)
- TCMention: should unsubscribe callbacks when destroy (0d911c1)
2.2.0 (2016-01-25)
2.1.1 (2015-11-25)
- TCMention: detects if is left arrow key (fbf4b16), closes #5
- TCMention: select the text only when element is first time created (59b54be)
2.1.0 (2015-11-24)
- TCMention: add extra className map for trigger (0b6a64e)
- TCMention: move caret to after this.activeMentionAt when hidePanel() (0b3d8e1)
- TCMention: rename options for setting className (40d2822)
- TCMention: use activeTriggerClassNameMap to mark mention at tag (4c6503d)
- TCMention: use extraPanelClassName and extraActivePanelClassName instead.
Before & After:
extraClassName -> extraPanelClassName
extraActiveClassName -> extraActivePanelClassName
2.0.0 (2015-11-13)
- TCMention: rewrite mention detection using different algorithm (58d6666)
-
TCMention: detect the "word" based on current caret position
The intention is to make its behaviour much closer to Facebook/Medium. Also rename the option of
autoHideOnBlurDelay
tohideOnBlurDelay
.Before:
The user type in @ or # to trigger mention panel immediately. If you already type one and navigate it back to the position using your arrow keys on keyboard, the mention panel won't show up this time.
After:
The user has to type in @ or # with one more word to trigger mention panel. Navigating back to the word will show up the mention panel.
1.4.1 (2015-11-11)
1.4.0 (2015-11-11)
- TCMention: should include pageXOffset for left as well (7f24f3e)
- TCMention: panel position to be the end of activeMentionAt element (cb7768a)
1.3.0 (2015-11-03)
1.2.2 (2015-10-23)
1.2.1 (2015-10-16)
- TCMention: add extraActiveClassName to options (8815c5d)
- mention-panel.min.css: add overflow property as well (286a281)
1.2.0 (2015-10-16)
- TCMention: add destroyPanelContent for clean up (bee5dd7)
1.1.1 (2015-10-16)
- TCMention: BACKSPACE should call renderPanelContent as well (07e8b03)
1.1.0 (2015-10-16)
- TCMention: add extraClassName to options (0ca57c7)
- src: add TCMention as es6 module (d1191be)