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