zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
afc163
8e3ce3cb27
💄 update code style
6 years ago
Damian Green
eca24018fa
'Mention' component lifecycle methods
6 years ago
ztplz
8b70fe7664
Correct type
6 years ago
Jake Richards
b4e0c48ed5
Strengthen Mention Component typings
6 years ago
陆离
cc06f0f7a5
fix: focus editor ( #9548 )
7 years ago
Wei Zhu
4aeb811b72
Remove deprecations ( #8351 )
7 years ago
Wei Zhu
f14d57dc14
Fix implicit any error for Mention
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
转二
20dae8f33e
feat: Add option for component: 'mention'
7 years ago
Sanjay Kumar
1dc4e45bce
Bugfix: Handle defaultSearchChange when suggestions contain ‘Nav’ items ( #7701 )
7 years ago
Benjy Cui
a4a26797ec
fix: mention should support `.focus`, close : #6135
8 years ago
Jordan Hornblow
720a3d30b4
fix: Form and Mention TypeScript definition ( #6268 )
* Add source and options params to Form.ValidationRule.validator function
As per rules section of async-validation readme: https://github.com/yiminghe/async-validator#rules
* Make prefixCls optional in MentionProps interface
8 years ago
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
8 years ago
陆离
4518b02095
feat: support Mention[disabled|readOnly] and add some warning( #6004 )
#### FEATURES
* use `ContentState` instead of `EditorState`, selection events won't trigger
onChange anymore.
* deprecated `Mention.toEditorState`, instead of `Mention.toContentState`,
* `Mention.toEditorState` are compatibled, but have a warnning in console.
#### ISSUES
* `disabled` and `readOnly` props supported.
* fixed controlled mode bug.
* close #5788
* close #5175
* close #https://github.com/react-component/editor-mention/issues/7
8 years ago
HJin.me
47589ba92c
fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type ( #5528 )
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
849c5fbf75
Fix getPopupContainer ts type
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
322e9efdc9
Fix getPopupContainer ts type
8 years ago
ddcat1115
7ab95b7eae
- fix ts error ( #5145 )
- typescript upgrade to 2.2.1
8 years ago
陆离
0d875432a5
feat: rc-editor-mention up to date and support multiple prefix token ( #4748 )
* rc-editor-mention -> 0.4.1, draft-js -> 0.10.0
transformIgnorePatterns
* multiple trigger supported
+ close #4797
* append DEMO
8 years ago
陆离
e270fa87af
Mention in controlled mode suggestions bug fix ( #4718 )
* Mention in controlled mode suggestions bug fix
+ close #4716
8 years ago
陆离
5b779e8e8e
Exposing `onFocus` and `onBlur` callback of Mention ( #4164 )
* Expose `onFocus` and `onBlur` callback of Mention
+ close #4163
* add event arguments
8 years ago
Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
8 years ago
afc163
b6455e2546
fix path
8 years ago
afc163
a7153e6e24
Fix mention style detail
8 years ago
RaoHai
c5a043b4c8
Mention Improvement
+ add `getSuggestionContainer` callback function, which allow users modify the
container element of suggestions dropdown.
+ the suggestions dropdown will mount on `document.body` defaultly, instead of
on editor.
+ close #3588
8 years ago
Benjy Cui
4878258f6c
refactor: ref: #3490
8 years ago
陆离
3513cf7a1f
Mention fix ( #3240 )
* placeholder style fix
* add onSelect callback
8 years ago
Benjy Cui
92fb8f266f
docs: add docs for Mention[prefix], close : #3184
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
8 years ago
RaoHai
1ccfad13f7
Mention Component fix
- 现在只输入一个 @ 符号,dropdown 也会弹出。
- 输入框失去焦点后,dropdown 会消失。
- 添加受控模式示例
- 添加 `getMentions(editorState: EditorState): Array<String>` Api,
可以获取当前提到的人。
- 添加了校验样式
- 其他样式修正
8 years ago
RaoHai
3095f58be8
export toEditorState of `Mention`
8 years ago
RaoHai
3fe36f4584
export `toString` of Mention
8 years ago
RaoHai
23df8f7504
tslint fix
8 years ago
RaoHai
69da207f3c
support value props and controllred mode
8 years ago
RaoHai
8e3d2b823a
improvement after review
9 years ago
RaoHai
01fabac77a
Mention Component
9 years ago