mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #16437 from overleaf/dp-remove-visual-editor-feedback-icon
Remove visual editor feedback badge GitOrigin-RevId: c84cc7b6630642853848fad46695bff6ae2a990a
This commit is contained in:
parent
5412b9b923
commit
a2da947a1f
1 changed files with 0 additions and 17 deletions
|
@ -5,7 +5,6 @@ import { sendMB } from '../../../infrastructure/event-tracking'
|
||||||
import isValidTeXFile from '../../../main/is-valid-tex-file'
|
import isValidTeXFile from '../../../main/is-valid-tex-file'
|
||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
import { PromotionOverlay } from './table-generator/promotion/popover'
|
import { PromotionOverlay } from './table-generator/promotion/popover'
|
||||||
import { FeedbackBadge } from '@/shared/components/feedback-badge'
|
|
||||||
|
|
||||||
function EditorSwitch() {
|
function EditorSwitch() {
|
||||||
const { t } = useTranslation()
|
const { t } = useTranslation()
|
||||||
|
@ -57,26 +56,10 @@ function EditorSwitch() {
|
||||||
handleChange={handleChange}
|
handleChange={handleChange}
|
||||||
/>
|
/>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
{richTextAvailable && visual && (
|
|
||||||
<FeedbackBadge
|
|
||||||
id="visual-editor-feedback"
|
|
||||||
url="https://forms.gle/AUqHmKNiEH3DRniPA"
|
|
||||||
text={<VisualEditorFeedbackContent />}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const VisualEditorFeedbackContent = () => (
|
|
||||||
<>
|
|
||||||
We have a new Visual Editor!
|
|
||||||
<br />
|
|
||||||
Click to give feedback
|
|
||||||
</>
|
|
||||||
)
|
|
||||||
|
|
||||||
const RichTextToggle: FC<{
|
const RichTextToggle: FC<{
|
||||||
checked: boolean
|
checked: boolean
|
||||||
disabled: boolean
|
disabled: boolean
|
||||||
|
|
Loading…
Reference in a new issue