MuYu
fb0b4f0fc9
docs: show version Number features were added ( #17373 )
...
* docs: add api first appearance
* docs: fix auto-complete doc
* docs: replace Version Added with Version
* docs: date picker common method
* docs: date picker common method
* docs: tree
* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
zombieJ
ecb2eb6ede
feat: Add Mentions component ( #16532 )
...
* init
* first demo
* support empty
* add loading support
* add form sample
* update form sample
* omit value & defaultValue
* add 2 rest demo
* placement support
* update docs
* fix test
* update docs
* add test case
* fix lint
* follow textarea style
* update docs style
2019-05-17 12:05:03 +08:00
afc163
b780070351
💄 prittier all files
2019-05-07 14:57:32 +08:00
gyh9457
974e48090d
docs: Update Card and Mention doc ( #14247 )
2019-01-10 15:32:41 +08:00
zombiej
d2c9e6b498
update doc
2018-12-20 17:21:58 +08:00
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +08:00
Wei Zhu
999d6184ad
docs: Sort api table
2017-12-29 20:22:58 +08:00
Wei Zhu
d2dc88c470
Add focus() and blur() document
...
Close #3790
2017-12-01 19:28:41 +08:00
Wei Zhu
4aeb811b72
Remove deprecations ( #8351 )
2017-11-30 09:53:32 +08:00
Wei Zhu
bbb1a3a828
Merge branch 'master' into antd-3.0
2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db
docs: sort api table
2017-10-25 10:25:44 +08:00
转二
60feaebd54
docs: Update 's document.
2017-09-25 23:42:31 +08:00
Benjy Cui
a4a26797ec
fix: mention should support .focus
, close : #6135
2017-06-28 16:30:01 +08:00
afc163
9969a3b598
Improve doc
2017-06-16 16:56:03 +08:00
陆离
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
2017-05-05 14:53:46 +08:00
afc163
cb1815cfdf
fix api doc
2017-04-15 14:57:20 +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
caoyi
cebf3a4c9e
docs: fix Mention props API ( #4683 )
2017-01-22 19:49:08 +08:00
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
...
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
2017-01-20 20:10:50 +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
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