Ghost/ghost/admin/app/components/feedback-lexical/labs-form.hbs
Elena Baidakova 57d5f544d8
Updated inlined feedback form (#16794)
refs TryGhost/Team#3214

---

<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 92b2412</samp>

This pull request refactors and simplifies the feedback system for the
lexical editor feature. It replaces the nested modal with a new
`FeedbackLexical` component that can be used in different contexts. It
also removes unused code and files related to the old feedback modal.
2023-05-16 16:16:57 +04:00

11 lines
307 B
Handlebars

<FeedbackLexical::Textarea
@feedbackMessage={{this.feedbackMessage}}
@updateFeedbackMessage={{this.updateFeedbackMessage}}
@label="Have any issues? Feedback? Let us know below!"
/>
<FeedbackLexical::SendButton
@onSuccess={{this.closeModal}}
@feedbackMessage={{this.feedbackMessage}}
/>