陆离
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
caoyi
cebf3a4c9e
docs: fix Mention props API ( #4683 )
8 years ago
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
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
RaoHai
1287f2a19f
object -> any
8 years ago
Bruce Mitchener
36508ffabd
Typo fixes.
8 years ago
RaoHai
b0bdfcb94c
onSelect of `Mention` component pass extra data
+ close #3867
8 years ago
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
- Layout 更名为 Grid
8 years ago
Meck
248f0d12ad
Fix typo
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
陆离
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
cb367f3f35
site: update site details
8 years ago
Benjy Cui
33939312e9
docs: fix demos
8 years ago
afc163
a30f0090b9
update metion doc
8 years ago
afc163
aa8e02326a
update metion docs
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
69da207f3c
support value props and controllred mode
8 years ago
RaoHai
01fabac77a
Mention Component
9 years ago