0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Commented out inlined beta feedback form on Published post page

no refs
This commit is contained in:
Djordje Vlaisavljevic 2023-05-15 10:35:00 +01:00
parent 5ae2425fb6
commit 6812e026b0

View file

@ -96,28 +96,31 @@
</button>
</p>
{{else}}
<div class="gh-feedback-grey">
<h4 class="gh-feedback-grey-title">Hey, noticed anything different?</h4>
<p>This post was successfully published using our new editor. Have any issues? Feedback? Let us know!</p>
<form>
<GhFormGroup>
{{!-- <label for="feedback-lexical">Feedback</label> --}}
<GhTextarea
@id="feedback-lexical"
@name="feedback-lexical"
@value={{this.feedbackMessage}}
@placeholder="I've noticed that..."
data-test-lexical-feedback-textarea
/>
</GhFormGroup>
</form>
<GhTaskButton
@buttonText="Send feedback"
@task={{this.submitFeedback}}
@class="gh-btn gh-btn-black gh-btn-icon"
data-test-button="submit-lexical-feedback"
/>
</div>
{{!-- Inlined beta feedback form --}}
{{#if (feature 'lexicalEditor')}}
{{!-- <div class="gh-feedback-grey">
<h4 class="gh-feedback-grey-title">Hey, noticed anything different?</h4>
<p>This post was successfully published using our new editor. Have any issues? Feedback? Let us know!</p>
<form>
<GhFormGroup>
<label for="feedback-lexical">Feedback</label>
<GhTextarea
@id="feedback-lexical"
@name="feedback-lexical"
@value={{this.feedbackMessage}}
@placeholder="I've noticed that..."
data-test-lexical-feedback-textarea
/>
</GhFormGroup>
</form>
<GhTaskButton
@buttonText="Send feedback"
@task={{this.submitFeedback}}
@class="gh-btn gh-btn-black gh-btn-icon"
data-test-button="submit-lexical-feedback"
/>
</div> --}}
{{/if}}
<p class="gh-publish-confirmation gh-publish-confirmation-with-feedback">
<button
type="button"
@ -127,7 +130,8 @@
>
<span>Back to editor</span>
</button>
{{!-- {{#if (feature 'lexicalEditor')}}
{{!-- Trigger beta feedback modal --}}
{{#if (feature 'lexicalEditor')}}
<button
type="button"
class="gh-publish-confirmation-feedback"
@ -136,7 +140,7 @@
>
<span>Beta feedback?</span>
</button>
{{/if}} --}}
{{/if}}
</p>
{{/if}}
{{/if}}