Skip to content

(Add) Quoting in Livewire Comments #4424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

clandestine8
Copy link
Contributor

Ported the Quoting Implementation from the Forums to Livewire Comments so Torrent Comments and any other comments using Livewire Comments can be quoted. Functionally identical to Forums.

This should close this issue: #4385

'{{ $comment->isParent() ? 'new-comment__textarea' : 'reply-comment' }}'
);
input.value +=
'[quote={{ \htmlspecialchars('@' . ($comment->anon ? 'Anonymous' : $comment->user->username)) }}]';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Anonymous" is a valid username, and probably shouldn't be pinged here. Maybe drop the @?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done: e4001cb

@HDVinnie HDVinnie merged commit b326a87 into HDInnovations:8.x.x Jan 13, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants