Sam Kirkland
5d96ba6400
English translation for notFoundContent ( #15453 )
6 years ago
zy410419243
bf4560cf37
docs: fix wrong usage of comma
6 years ago
gyh9457
974e48090d
docs: Update Card and Mention doc ( #14247 )
6 years ago
ztplz
4bd107f9d7
Correct doc
6 years ago
zombiej
d2c9e6b498
update doc
6 years ago
Karthik K
f24e41806d
Minor punctuation correction ( #9472 )
7 years ago
Wei Zhu
999d6184ad
docs: Sort api table
7 years ago
Wei Zhu
d2dc88c470
Add focus() and blur() document
Close #3790
7 years ago
Wei Zhu
4aeb811b72
Remove deprecations ( #8351 )
7 years ago
Wei Zhu
36227a10db
docs: sort api table
7 years ago
monkindey
ea926fecaf
also resolve conflicted file
7 years ago
monkindey
0bc5936b23
resolve conflicted files
7 years ago
转二
60feaebd54
docs: Update 's document.
7 years ago
Benjy Cui
a4a26797ec
fix: mention should support `.focus`, close : #6135
8 years ago
afc163
9969a3b598
Improve doc
8 years ago
陆离
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
8 years ago
afc163
cb1815cfdf
fix api doc
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
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