HJin.me
47589ba92c
fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type ( #5528 )
2017-03-28 13:20:05 +08:00
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
afc163
322e9efdc9
Fix getPopupContainer ts type
2017-03-21 16:35:31 +08:00
ddcat1115
7ab95b7eae
- fix ts error ( #5145 )
...
- typescript upgrade to 2.2.1
2017-03-06 15:48:03 +08:00
陆离
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
2017-02-13 15:50:38 +08:00
陆离
e270fa87af
Mention in controlled mode suggestions bug fix ( #4718 )
...
* Mention in controlled mode suggestions bug fix
+ close #4716
2017-01-26 12:09:26 +08:00
陆离
5b779e8e8e
Exposing onFocus
and onBlur
callback of Mention ( #4164 )
...
* Expose `onFocus` and `onBlur` callback of Mention
+ close #4163
* add event arguments
2016-12-09 13:03:09 +08:00
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
2016-11-30 10:20:23 +08:00
afc163
b6455e2546
fix path
2016-11-14 13:20:00 +08:00
afc163
a7153e6e24
Fix mention style detail
2016-11-14 12:21:58 +08:00
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
2016-10-31 15:58:15 +08:00
Benjy Cui
4878258f6c
refactor: ref: #3490
2016-10-24 12:04:26 +08:00
陆离
3513cf7a1f
Mention fix ( #3240 )
...
* placeholder style fix
* add onSelect callback
2016-09-30 11:26:27 +08:00
Benjy Cui
92fb8f266f
docs: add docs for Mention[prefix], close : #3184
2016-09-28 16:56:01 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
...
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
2016-09-19 10:17:07 +08:00
RaoHai
1ccfad13f7
Mention Component fix
...
- 现在只输入一个 @ 符号,dropdown 也会弹出。
- 输入框失去焦点后,dropdown 会消失。
- 添加受控模式示例
- 添加 `getMentions(editorState: EditorState): Array<String>` Api,
可以获取当前提到的人。
- 添加了校验样式
- 其他样式修正
2016-07-20 19:01:11 +08:00
RaoHai
3095f58be8
export toEditorState of Mention
2016-07-19 13:39:05 +08:00
RaoHai
3fe36f4584
export toString
of Mention
2016-07-19 12:31:03 +08:00
RaoHai
23df8f7504
tslint fix
2016-07-18 17:58:55 +08:00
RaoHai
69da207f3c
support value props and controllred mode
2016-07-18 16:58:52 +08:00
RaoHai
8e3d2b823a
improvement after review
2016-07-18 16:58:52 +08:00
RaoHai
01fabac77a
Mention Component
2016-07-18 16:58:52 +08:00