chore: corrects package import paths for live preview test (#8925)

Corrects package import paths for live preview test.

- This would cause a import glitch when trying to run the live-preview
test due to incorrect file paths.
This commit is contained in:
Kendell Joseph
2024-10-29 16:12:45 -04:00
committed by GitHub
parent 6c341b5661
commit 29704428bd
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,6 @@ import {
COMMAND_PRIORITY_EDITOR,
type RangeSelection,
} from 'lexical'
import { useLexicalDrawer } from 'packages/richtext-lexical/src/utilities/fieldsDrawer/useLexicalDrawer.js'
import React, { useEffect, useState } from 'react'
import type { PluginComponent } from '../../../typesClient.js'
@@ -33,6 +32,7 @@ import type { BlocksFeatureClientProps } from '../index.js'
import { useEditorConfigContext } from '../../../../lexical/config/client/EditorConfigProvider.js'
import { FieldsDrawer } from '../../../../utilities/fieldsDrawer/Drawer.js'
import { useLexicalDrawer } from '../../../../utilities/fieldsDrawer/useLexicalDrawer.js'
import { $createBlockNode, BlockNode } from '../nodes/BlocksNode.js'
import { $createInlineBlockNode, $isInlineBlockNode } from '../nodes/InlineBlocksNode.js'
import {

View File

@@ -16,7 +16,6 @@ import { INSERT_TABLE_COMMAND, TableNode } from '@lexical/table'
import { mergeRegister } from '@lexical/utils'
import { formatDrawerSlug, useEditDepth, useModal } from '@payloadcms/ui'
import { $getSelection, $isRangeSelection, COMMAND_PRIORITY_EDITOR, createCommand } from 'lexical'
import { useLexicalDrawer } from 'packages/richtext-lexical/src/utilities/fieldsDrawer/useLexicalDrawer.js'
import { createContext, useContext, useEffect, useMemo, useState } from 'react'
import * as React from 'react'
@@ -24,6 +23,7 @@ import type { PluginComponent } from '../../../../typesClient.js'
import { useEditorConfigContext } from '../../../../../lexical/config/client/EditorConfigProvider.js'
import { FieldsDrawer } from '../../../../../utilities/fieldsDrawer/Drawer.js'
import { useLexicalDrawer } from '../../../../../utilities/fieldsDrawer/useLexicalDrawer.js'
import './index.scss'
export type CellContextShape = {