[cm6] Move figure paste handler to core LaTeX extensions (#14957)

GitOrigin-RevId: 2dd6b036c5e9122a7e7564d4246f10444ba593e3
This commit is contained in:
Alf Eaton
2023-09-27 11:49:17 +01:00
committed by Copybot
parent 9acad2249b
commit 0cf36ec5de
4 changed files with 39 additions and 3 deletions
@@ -19,7 +19,6 @@ import { restoreScrollPosition } from '../scroll-position'
import { CurrentDoc } from '../../../../../../types/current-doc'
import isValidTeXFile from '../../../../main/is-valid-tex-file'
import { listItemMarker } from './list-item-marker'
import { figureModalPasteHandler } from '../figure-modal'
import { isSplitTestEnabled } from '../../../../utils/splitTestUtils'
import { toolbarPanel } from '../toolbar/toolbar-panel'
import { selectDecoratedArgument } from './select-decorated-argument'
@@ -204,7 +203,6 @@ const extension = (options: Options) => [
isSplitTestEnabled('source-editor-toolbar') ? [] : toolbarPanel(),
selectDecoratedArgument,
showContentWhenParsed,
figureModalPasteHandler(),
isSplitTestEnabled('paste-html') ? pasteHtml : [],
isSplitTestEnabled('table-generator') ? tableGeneratorTheme : [],
]