zombiej
101a93ed39
mention add defaultSuggestion
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
偏右
2bced36f0c
New component styles ( #7731 )
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
7 years ago
转二
20dae8f33e
feat: Add option for component: 'mention'
7 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
Benjy Cui
200b88246f
docs: update docs format
8 years ago
Benjy Cui
3e17551b7e
site: improve build speed
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
28d5b49f9e
site: update details
8 years ago
kvetoslavnovak
a9afd5cd17
docs: Mention Basic Use - English translation ( #3137 )
8 years ago
afc163
57a34d8f5d
fix metion styles
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
3fe36f4584
export `toString` of Mention
8 years ago
RaoHai
69da207f3c
support value props and controllred mode
8 years ago
RaoHai
01fabac77a
Mention Component
9 years ago