Commit Graph

25 Commits

Author SHA1 Message Date
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
zombiej
101a93ed39 mention add defaultSuggestion 2018-12-20 17:21:58 +08:00
Ilan Hasanov
86398d910a 💬 misc typos and blank spaces fixes 2018-07-29 01:15:02 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
afc163
ccf507b603 update mention demos 2017-09-25 22:42:07 +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
240a93cee2 Fix mention active style 2017-03-19 01:29:21 +08:00
Wei Zhu
aefdfb9458 docs: use new Form[layout] prop 2017-03-06 17:51:45 +08:00
afc163
f2d12306bd improve demo es6 class code style 2017-02-20 21:47:57 +08:00
afc163
2da59c3679 fix mention demo 2017-02-20 21:40:24 +08:00
afc163
ce877707bd rewrite LocaleProvider and Mention demos to es6 component, #4878 2017-02-20 21:39:07 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
afc163
0eb5c689a3 remove type="ghost" from demo 2017-02-04 22:35:33 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +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
陆离
05c6d09eab docs: add controllerd sample (#3504)
* add controllerd sample

* lint
2016-10-20 13:51:44 +08:00
Shawn Sit
a932a4ac08 docs: translated controlled demo (#3220)
* translated controlled demo

* fixs: misspell &  shorter label
2016-09-30 14:56:53 +08:00
Benjy Cui
28d5b49f9e site: update details 2016-09-23 10:14:57 +08:00
kvetoslavnovak
069b5963db docs: Mention Controlled Mode - English translation (#3136) 2016-09-23 09:40:47 +08:00
Benjy Cui
14fb2c78ba chore: remove deprecated code (#2920)
* chore: remove deprecated code

* chore: add warning for Breadcrumb
2016-09-09 13:55:46 +08:00
afc163
77949bb9e3 upgrade eslint-config, close #2811 2016-08-23 21:00:35 +08:00
afc163
398b8ac708 typo 2016-07-21 15:53:33 +08:00
afc163
57a34d8f5d fix metion styles 2016-07-21 15:40:13 +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