二货机器人
7e9cc07059
fix: Mentions in Form has additional height ( #18478 )
5 years ago
zombieJ
4cdf37bedb
feat: New Form ( #17327 )
* init form
* first demo
* add normal login
* add style
* webit
* support nest errors
* beauti form errors
* use onReset
* modal demo
* add list demo
* match key of errors logic
* date demo
* customize component
* moving style
* add status style
* without form create
* add demos
* add inline style
* clean up legacy
* fix drawer demo
* mention
* fix edit-row
* editable table cell
* update mentions demo
* fix some test case
* fix upload test
* fix lint
* part of doc
* fix ts
* doc update
* rm react 15
* rm config
* enhance test coverage
* clean up
* fix FormItem context pass logic
* add more demo
* en to build
* update demo
* update demo & snapshot
* more doc
* update list doc
* update doc
* update demo to display condition render
* update snapshot
* add provider doc
* support configProvider
* more doc about validateMessages
* more description
* more and more doc
* fix typo
* en doc
* Form.List doc
* m v3 -> v4
* add skip
5 years ago
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
6 years ago
afc163
b780070351
💄 prittier all files
6 years ago
zombiej
101a93ed39
mention add defaultSuggestion
6 years ago
Ilan Hasanov
86398d910a
💬 misc typos and blank spaces fixes
6 years ago
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
afc163
ccf507b603
update mention demos
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
afc163
240a93cee2
Fix mention active style
8 years ago
Wei Zhu
aefdfb9458
docs: use new Form[layout] prop
8 years ago
afc163
f2d12306bd
improve demo es6 class code style
8 years ago
afc163
2da59c3679
fix mention demo
8 years ago
afc163
ce877707bd
rewrite LocaleProvider and Mention demos to es6 component, #4878
8 years ago
Benjy Cui
200b88246f
docs: update docs format
8 years ago
afc163
0eb5c689a3
remove type="ghost" from demo
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
陆离
05c6d09eab
docs: add controllerd sample ( #3504 )
* add controllerd sample
* lint
8 years ago
Shawn Sit
a932a4ac08
docs: translated controlled demo ( #3220 )
* translated controlled demo
* fixs: misspell & shorter label
8 years ago
Benjy Cui
28d5b49f9e
site: update details
8 years ago
kvetoslavnovak
069b5963db
docs: Mention Controlled Mode - English translation ( #3136 )
8 years ago
Benjy Cui
14fb2c78ba
chore: remove deprecated code ( #2920 )
* chore: remove deprecated code
* chore: add warning for Breadcrumb
8 years ago
afc163
77949bb9e3
upgrade eslint-config, close #2811
8 years ago
afc163
398b8ac708
typo
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