UNPKG

uxcore-mention

Version:

Mention anywhere with this component

94 lines (57 loc) 1.65 kB
# History --- ## 0.4.5 `CHANGED` support js style export ## 0.4.3 `NEW` add `getMentions` API to editors for getting all current mentions. ## 0.4.2 `FIXED` fix issue #22 trigger change event with outdated value. ## 0.4.1 `IMPROVE` support react 16.x. ## 0.4.0 `NEW` add `maxLength` prop to editors. ## 0.3.18 `IMPROVE` remove react-mixin dependency. ## 0.3.17 `IMPROVE` support react 15.x ## 0.3.14 `CHANGED` support multiple mention ## 0.3.11 `FIXED` server render bug ## 0.3.10 `FIXED` remove the warning under react@15.x.x. ## 0.3.9 `CHANGED` editor's width propType. ## 0.3.7 `CHANGED` add value props. ## 0.3.6 `FIXED` click on the contentEditable's placeholder, the editor can't focus. ## 0.3.4 `FIXED` inputEditor & textareaEditor trigger change event when mention addded. ## 0.3.3 `FIXED` issue when mention's 'matchRange' props start from 0. `CHANGED` change panel's position with inputEditor & textareaEditor. ## 0.3.2 `FIXED` fixed 'onChange' not trigger in inputEditor & textareaEditor. ## 0.3.1 `FIXED` fixed the select panel's position error when the page is scrolled. ## 0.3.0 `CHANGED` Separate editor from mention component with three types `ADDED` props `delimiter` `readOnly` `defaultValue` `onAdd` `NEW` add `tinymce` support ## 0.2.0 `NEW` add `placeholder` supports ## 0.1.10 `FIXED` add scroll when content overflow ## 0.1.9 `FIXED` fix require(xxx.jsx) bug when build ## 0.1.8 `CHANGED` update scaffold ## 0.1.5 `NEW` add onChange method ## 0.1.4 `FIXED` sometimes the panel does not show ## 0.1.3 `CHANGED` upgrade to react@0.14 ## 0.1.2 `FIXED` panel position bug when page is scrolled