陆离
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
ddcat1115
34d00559fc
Merge pull request #3869 from RaoHai/mentionOnSelectData
...
[Document only] onSelect of `Mention` component pass extra data
2016-11-19 22:26:21 +08:00
Bruce Mitchener
36508ffabd
Typo fixes.
2016-11-16 20:33:37 +07:00
RaoHai
b0bdfcb94c
onSelect of Mention
component pass extra data
...
+ close #3867
2016-11-16 17:16:32 +08:00
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
...
- Layout 更名为 Grid
2016-11-09 14:43:32 +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
陆离
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
3f67fd3f9f
docs: update docs details
2016-09-21 11:28:38 +08:00
Benjy Cui
33939312e9
docs: fix demos
2016-08-29 14:46:31 +08:00
afc163
a30f0090b9
update metion doc
2016-07-21 15:41:40 +08:00
afc163
aa8e02326a
update metion docs
2016-07-21 15:23:04 +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
69da207f3c
support value props and controllred mode
2016-07-18 16:58:52 +08:00
RaoHai
01fabac77a
Mention Component
2016-07-18 16:58:52 +08:00