Replies share a root_id and nest by parent_id for deep indentation (same nestReplies() tree as Blade). Reply actions open a composer in context of the parent comment.
Full emoji picker for inserting into content and for reacting. Backend accepts any emoji type ≤ 32 characters; reaction_types in config is suggestions only.
Livewire — Usage
Comment box by
page_idUse a stable string key so comments survive URL changes:
pageIdandcommentableare locked Livewire properties — set them when the component mounts (props), do not bind them to mutable UI state.Prefer a deterministic
:key(page id / model id). AvoidStr::uuid()as the Livewire key on every render — that remounts the component and loses state.Comment box on an Eloquent model
You can combine
pageIdandcommentablewhen your app needs both scopes; most apps use one or the other.Nested replies
Replies share a
root_idand nest byparent_idfor deep indentation (samenestReplies()tree as Blade). Reply actions open a composer in context of the parent comment.Composer, Markdown, uploads
Behavior matches Blade Comments:
in the contentBold/italic helpers and server-side emphasis normalization apply the same way. See Blade — Usage for the dual-path detail.
Emoji & reactions
Full emoji picker for inserting into content and for reacting. Backend accepts any emoji
type≤ 32 characters;reaction_typesin config is suggestions only.Multiple boxes on one page
Give each instance a unique Livewire
keyand a uniquepageId(or different models):Minimal page
Admin
Moderators configured in
moderation_usersopen:See Admin panel.