mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-03-06 05:49:47 +01:00
* feat: add a basic mention implementation example Just a simple example to get people started when trying to implement their own mentions implementation. * feat(MentionsExample): use a floating suggestions menu. * fix(MentionsExample): update to slate 0.42
21 lines
342 B
JSON
21 lines
342 B
JSON
{
|
|
"document": {
|
|
"nodes": [
|
|
{
|
|
"object": "block",
|
|
"type": "paragraph",
|
|
"nodes": [
|
|
{
|
|
"object": "text",
|
|
"leaves": [
|
|
{
|
|
"text": "Try mentioning some users, like Luke or Leia."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|