File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -219,24 +219,6 @@ The package uses Filament TipTap Editor which supports mentions. You can mention
219219In the future, the package will support sending notifications to the mentioned users via database notifications if supported.
220220For 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
You can’t perform that action at this time.
0 commit comments