mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-03 14:19:01 +02:00
[cm6] remove badge icon for toolbar in code editor (#13959)
GitOrigin-RevId: 33813eb1c22d651cf3ea599f30b626f93f8ef8ef
This commit is contained in:
committed by
Copybot
parent
9932c42910
commit
a2bd9c3f82
@@ -19,7 +19,6 @@ import { DetacherSynctexControl } from '../../pdf-preview/components/detach-sync
|
||||
import DetachCompileButtonWrapper from '../../pdf-preview/components/detach-compile-button-wrapper'
|
||||
import getMeta from '../../../utils/meta'
|
||||
import { isVisual } from '../extensions/visual/visual'
|
||||
import SplitTestBadge from '../../../shared/components/split-test-badge'
|
||||
import { language } from '@codemirror/language'
|
||||
import { minimumListDepthForSelection } from '../utils/tree-operations/ancestors'
|
||||
|
||||
@@ -139,12 +138,6 @@ const Toolbar = memo(function Toolbar() {
|
||||
active={searchPanelOpen(state)}
|
||||
icon="search"
|
||||
/>
|
||||
{languageName === 'latex' && !visual && (
|
||||
<SplitTestBadge
|
||||
splitTestName="source-editor-toolbar"
|
||||
displayOnVariants={['enabled']}
|
||||
/>
|
||||
)}
|
||||
{showSourceToolbar && (
|
||||
<>
|
||||
<SwitchToPDFButton />
|
||||
|
||||
Reference in New Issue
Block a user