afc163
240a93cee2
Fix mention active style
8 years ago
Wei Zhu
aefdfb9458
docs: use new Form[layout] prop
8 years ago
afc163
d19453c4c3
fix lint
8 years ago
afc163
176b9f9083
fix typo
8 years ago
afc163
c28020708f
fix typo
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
afc163
18e554ff46
fix lint
8 years ago
afc163
f037f12523
fix demo code language
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
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
b0bdfcb94c
onSelect of `Mention` component pass extra data
+ close #3867
8 years ago
RaoHai
42d06e1f0e
fix `getPopupDomNode`
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
陆离
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
kvetoslavnovak
069b5963db
docs: Mention Controlled Mode - English translation ( #3136 )
8 years ago
kvetoslavnovak
2ccda65957
docs: Mention Icon Image - English translation ( #3135 )
8 years ago
kvetoslavnovak
150d4e6dbb
docs: Mention Customize Suggestion - English translation ( #3134 )
8 years ago
kvetoslavnovak
b5a0ad0a67
docs: Mention Asynchronous loading - English translation ( #3133 )
8 years ago
Benjy Cui
14fb2c78ba
chore: remove deprecated code ( #2920 )
* chore: remove deprecated code
* chore: add warning for Breadcrumb
8 years ago
Andrew Murray
0d00c5fb6c
docs: Fixed typos ( #2921 )
8 years ago
Benjy Cui
33939312e9
docs: fix demos
8 years ago
Benjy Cui
34974923b8
docs: remove dead code in demo
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
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
8e3d2b823a
improvement after review
9 years ago
RaoHai
01fabac77a
Mention Component
9 years ago