Skip to content

Commit 53b075a

Browse files
authored
README Refactor: Remove the config closure code snippets (#32)
2 parents 3daca6f + e6b552e commit 53b075a

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -219,24 +219,6 @@ The package uses Filament TipTap Editor which supports mentions. You can mention
219219
In the future, the package will support sending notifications to the mentioned users via database notifications if supported.
220220
For more on how to customize the mentions, see the [Package Customization](#customize-how-to-get-the-mention-items) section below.
221221

222-
**Get only users mentioned in the current thread:**
223-
224-
```php
225-
[
226-
'getMentionsUsing' => fn (
227-
string $query,
228-
Model $commentable
229-
) => app(\Coolsam\NestedComments\NestedComments::class)->getCurrentThreadUsers($query, $commentable),
230-
]
231-
```
232-
233-
**Get all users from your database**
234-
235-
```php
236-
[
237-
'getMentionsUsing' => 'getMentionsUsing' => fn (string $query, Model $commentable) => app(\Coolsam\NestedComments\NestedComments::class)->getUserMentions($query),
238-
]
239-
```
240222
![image](https://github.com/user-attachments/assets/bd7a395a-fc32-4057-b6bc-24763132f555)
241223

242224

0 commit comments

Comments
 (0)