@portabletext/editor 2.12.0 → 2.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,14 +5,14 @@ import {page} from '@vitest/browser/context'
5
5
  import React from 'react'
6
6
  import {expect, vi} from 'vitest'
7
7
  import {render} from 'vitest-browser-react'
8
- import type {Context} from '../../gherkin-tests-v2/step-context'
9
- import type {Editor} from '../editor'
8
+ import type {Editor} from '../../editor'
10
9
  import {
11
10
  PortableTextEditable,
12
11
  type PortableTextEditableProps,
13
- } from '../editor/Editable'
14
- import {EditorProvider} from '../editor/editor-provider'
15
- import {EditorRefPlugin} from '../plugins/plugin.editor-ref'
12
+ } from '../../editor/Editable'
13
+ import {EditorProvider} from '../../editor/editor-provider'
14
+ import {EditorRefPlugin} from '../../plugins/plugin.editor-ref'
15
+ import type {Context} from './step-context'
16
16
 
17
17
  type CreateTestEditorOptions = {
18
18
  initialValue?: Array<PortableTextBlock>
@@ -22,6 +22,9 @@ type CreateTestEditorOptions = {
22
22
  editableProps?: PortableTextEditableProps
23
23
  }
24
24
 
25
+ /**
26
+ * @internal
27
+ */
25
28
  export async function createTestEditor(
26
29
  options: CreateTestEditorOptions = {},
27
30
  ): Promise<