@atlaskit/editor-plugin-table 3.0.2 → 3.0.4
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.
- package/CHANGELOG.md +15 -0
- package/dist/cjs/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.js +12 -1
- package/dist/cjs/plugins/table/pm-plugins/table-local-id.js +1 -1
- package/dist/cjs/plugins/table/ui/consts.js +6 -4
- package/dist/cjs/plugins/table/ui/ui-styles.js +1 -1
- package/dist/es2019/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.js +14 -3
- package/dist/es2019/plugins/table/pm-plugins/table-local-id.js +1 -1
- package/dist/es2019/plugins/table/ui/consts.js +5 -4
- package/dist/es2019/plugins/table/ui/ui-styles.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.js +14 -3
- package/dist/esm/plugins/table/pm-plugins/table-local-id.js +1 -1
- package/dist/esm/plugins/table/ui/consts.js +5 -4
- package/dist/esm/plugins/table/ui/ui-styles.js +1 -1
- package/dist/types/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.d.ts +6 -5
- package/dist/types/plugins/table/pm-plugins/sticky-headers/util.d.ts +1 -1
- package/dist/types/plugins/table/pm-plugins/table-local-id.d.ts +1 -1
- package/dist/types/plugins/table/ui/consts.d.ts +2 -1
- package/dist/types-ts4.5/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.d.ts +6 -5
- package/dist/types-ts4.5/plugins/table/pm-plugins/sticky-headers/util.d.ts +1 -1
- package/dist/types-ts4.5/plugins/table/pm-plugins/table-local-id.d.ts +1 -1
- package/dist/types-ts4.5/plugins/table/ui/consts.d.ts +2 -1
- package/package.json +6 -6
- package/src/__tests__/integration/arrow-down-into-table.ts +2 -0
- package/src/__tests__/integration/auto-size.ts +3 -0
- package/src/__tests__/integration/cell-selection.ts +3 -0
- package/src/__tests__/integration/delete-columns.ts +2 -0
- package/src/__tests__/integration/delete-last-column-in-full-width.ts +2 -0
- package/src/__tests__/integration/delete-last-column-with-empty-action.ts +2 -0
- package/src/__tests__/integration/delete-last-row-with-empty-action.ts +2 -0
- package/src/__tests__/integration/delete-rows.ts +3 -0
- package/src/__tests__/integration/delete-table-when-selected.ts +3 -0
- package/src/__tests__/integration/deleting-empty-paragraph-under-table.ts +2 -0
- package/src/__tests__/integration/even-columns.ts +3 -0
- package/src/__tests__/integration/horizontal-scroll-shadows.ts +2 -0
- package/src/__tests__/integration/horizontal-scroll.ts +4 -1
- package/src/__tests__/integration/insert-cell-header-with-strong-mark.ts +2 -0
- package/src/__tests__/integration/insert-row-inside-layout.ts +3 -0
- package/src/__tests__/integration/layout.ts +3 -0
- package/src/__tests__/integration/meta-arrowup-cursor-in-first-row.ts +2 -0
- package/src/__tests__/integration/resize-handler.ts +3 -0
- package/src/__tests__/integration/resize.ts +4 -1
- package/src/__tests__/integration/scale.ts +3 -0
- package/src/__tests__/integration/sticky-header.ts +3 -1
- package/src/__tests__/unit/analytics.ts +4 -0
- package/src/__tests__/unit/collab.ts +3 -0
- package/src/__tests__/unit/commands/go-to-next-cell.ts +3 -0
- package/src/__tests__/unit/commands/insert.ts +3 -0
- package/src/__tests__/unit/commands/misc.ts +3 -0
- package/src/__tests__/unit/commands/sort.ts +3 -0
- package/src/__tests__/unit/commands.ts +3 -0
- package/src/__tests__/unit/copy-paste.ts +5 -0
- package/src/__tests__/unit/event-handlers/index.ts +3 -0
- package/src/__tests__/unit/event-handlers.ts +3 -0
- package/src/__tests__/unit/fix-tables.ts +3 -0
- package/src/__tests__/unit/get-toolbar-config.ts +3 -0
- package/src/__tests__/unit/handlers.ts +3 -0
- package/src/__tests__/unit/hover-selection.ts +4 -0
- package/src/__tests__/unit/index-with-fake-timers.ts +2 -0
- package/src/__tests__/unit/index.ts +4 -0
- package/src/__tests__/unit/layout.ts +3 -0
- package/src/__tests__/unit/nodeviews/OverflowShadowsObserver.ts +1 -0
- package/src/__tests__/unit/nodeviews/TableComponent.tsx +2 -0
- package/src/__tests__/unit/nodeviews/TableContainer.tsx +2 -0
- package/src/__tests__/unit/nodeviews/cell.ts +3 -0
- package/src/__tests__/unit/nodeviews/table.ts +4 -0
- package/src/__tests__/unit/pm-plugins/decorations/column-controls.ts +2 -0
- package/src/__tests__/unit/pm-plugins/decorations/column-resizing.ts +3 -0
- package/src/__tests__/unit/pm-plugins/decorations/plugin.ts +3 -0
- package/src/__tests__/unit/pm-plugins/main.ts +3 -0
- package/src/__tests__/unit/pm-plugins/safari-delete-composition-text-issue-workaround.ts +3 -0
- package/src/__tests__/unit/pm-plugins/sticky-headers/tableRow.tsx +5 -1
- package/src/__tests__/unit/pm-plugins/table-local-id.ts +4 -0
- package/src/__tests__/unit/pm-plugins/table-resizing/colgroup.ts +2 -0
- package/src/__tests__/unit/pm-plugins/table-resizing/event-handlers.ts +3 -0
- package/src/__tests__/unit/pm-plugins/table-width.ts +3 -0
- package/src/__tests__/unit/sort-column.ts +3 -0
- package/src/__tests__/unit/toolbar.ts +3 -0
- package/src/__tests__/unit/transforms/delete-columns.ts +3 -0
- package/src/__tests__/unit/transforms/delete-rows.ts +3 -0
- package/src/__tests__/unit/transforms/merging.ts +3 -0
- package/src/__tests__/unit/ui/ContextualMenu.tsx +3 -0
- package/src/__tests__/unit/ui/CornerControls.tsx +3 -0
- package/src/__tests__/unit/ui/FloatingContextualButton.tsx +3 -0
- package/src/__tests__/unit/ui/FloatingContextualMenu.tsx +3 -0
- package/src/__tests__/unit/ui/FloatingDeleteButton.tsx +3 -0
- package/src/__tests__/unit/ui/FloatingInsertButton.tsx +3 -0
- package/src/__tests__/unit/ui/RowControls.tsx +4 -0
- package/src/__tests__/unit/ui/TableFloatingControls.tsx +3 -0
- package/src/__tests__/unit/undo-redo.ts +4 -0
- package/src/__tests__/unit/utils/collapse.ts +3 -0
- package/src/__tests__/unit/utils/nodes.ts +3 -0
- package/src/__tests__/unit/utils/row-controls.ts +3 -0
- package/src/__tests__/unit/utils/table.ts +2 -0
- package/src/__tests__/unit/utils.ts +3 -0
- package/src/__tests__/visual-regression/__image_snapshots__/cell-options-menu-ts-table-cell-options-menu-delete-column-menu-item-should-remove-the-table-column-on-click-1-snap.png +2 -2
- package/src/__tests__/visual-regression/__image_snapshots__/cell-options-menu-ts-table-cell-options-menu-delete-column-menu-item-visual-hints-should-be-added-to-the-table-column-on-hover-1-snap.png +2 -2
- package/src/__tests__/visual-regression/__image_snapshots__/cell-options-menu-ts-table-cell-options-menu-delete-row-menu-item-should-remove-the-table-row-on-click-1-snap.png +2 -2
- package/src/__tests__/visual-regression/__image_snapshots__/cell-options-menu-ts-table-cell-options-menu-delete-row-menu-item-visual-hints-should-be-added-to-the-table-row-on-hover-1-snap.png +2 -2
- package/src/__tests__/visual-regression/cell-options-menu.ts +3 -1
- package/src/__tests__/visual-regression/index.ts +4 -1
- package/src/__tests__/visual-regression/sticky-header.ts +4 -1
- package/src/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.ts +26 -7
- package/src/plugins/table/pm-plugins/sticky-headers/util.ts +1 -1
- package/src/plugins/table/pm-plugins/table-local-id.ts +5 -4
- package/src/plugins/table/ui/consts.ts +13 -2
- package/src/plugins/table/ui/ui-styles.ts +2 -2
- package/src/__tests__/integration/__snapshots__/floating-toolbar.ts.snap +0 -613
- package/src/__tests__/integration/floating-toolbar.ts +0 -374
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
1
2
|
import {
|
|
2
3
|
editable,
|
|
3
4
|
expectToMatchSelection,
|
|
@@ -5,6 +6,7 @@ import {
|
|
|
5
6
|
getDocFromElement,
|
|
6
7
|
setProseMirrorTextSelection,
|
|
7
8
|
} from '@atlaskit/editor-test-helpers/integration/helpers';
|
|
9
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
8
10
|
import {
|
|
9
11
|
goToEditorTestingWDExample,
|
|
10
12
|
mountEditor,
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
1
2
|
import {
|
|
2
3
|
doubleClickResizeHandle,
|
|
3
4
|
editable,
|
|
4
5
|
fullpage,
|
|
5
6
|
getDocFromElement,
|
|
6
7
|
} from '@atlaskit/editor-test-helpers/integration/helpers';
|
|
8
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
7
9
|
import {
|
|
8
10
|
clickFirstCell,
|
|
9
11
|
selectTable,
|
|
10
12
|
} from '@atlaskit/editor-test-helpers/page-objects/table';
|
|
13
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
11
14
|
import {
|
|
12
15
|
goToEditorTestingWDExample,
|
|
13
16
|
mountEditor,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
1
2
|
import {
|
|
2
3
|
fullpage,
|
|
3
4
|
resizeColumn,
|
|
4
5
|
} from '@atlaskit/editor-test-helpers/integration/helpers';
|
|
6
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
5
7
|
import {
|
|
6
8
|
goToEditorTestingWDExample,
|
|
7
9
|
mountEditor,
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
1
2
|
import {
|
|
2
3
|
fullpage,
|
|
3
4
|
resizeColumn,
|
|
4
5
|
} from '@atlaskit/editor-test-helpers/integration/helpers';
|
|
6
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
5
7
|
import {
|
|
6
8
|
insertColumn,
|
|
7
9
|
insertTable,
|
|
8
10
|
} from '@atlaskit/editor-test-helpers/page-objects/table';
|
|
11
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
9
12
|
import {
|
|
10
13
|
goToEditorTestingWDExample,
|
|
11
14
|
mountEditor,
|
|
12
15
|
} from '@atlaskit/editor-test-helpers/testing-example-page';
|
|
13
16
|
import { BrowserTestCase } from '@atlaskit/webdriver-runner/runner';
|
|
14
|
-
import WebdriverPage from '@atlaskit/webdriver-runner/wd-wrapper';
|
|
17
|
+
import type WebdriverPage from '@atlaskit/webdriver-runner/wd-wrapper';
|
|
15
18
|
|
|
16
19
|
import basicTableAdf from './__fixtures__/basic-table';
|
|
17
20
|
import { emptyLayout } from './__fixtures__/empty-layout';
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
1
2
|
import {
|
|
2
3
|
editable,
|
|
3
4
|
fullpage,
|
|
4
5
|
getDocFromElement,
|
|
5
6
|
quickInsert,
|
|
6
7
|
} from '@atlaskit/editor-test-helpers/integration/helpers';
|
|
8
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
7
9
|
import {
|
|
8
10
|
goToEditorTestingWDExample,
|
|
9
11
|
mountEditor,
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
1
2
|
import {
|
|
2
3
|
animationFrame,
|
|
3
4
|
editable,
|
|
4
5
|
fullpage,
|
|
5
6
|
getDocFromElement,
|
|
6
7
|
} from '@atlaskit/editor-test-helpers/integration/helpers';
|
|
8
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
7
9
|
import {
|
|
8
10
|
clickFirstCell,
|
|
9
11
|
insertRow,
|
|
10
12
|
} from '@atlaskit/editor-test-helpers/page-objects/table';
|
|
13
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
11
14
|
import {
|
|
12
15
|
goToEditorTestingWDExample,
|
|
13
16
|
mountEditor,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
1
2
|
import {
|
|
2
3
|
animationFrame,
|
|
3
4
|
changeSelectedNodeLayout,
|
|
@@ -6,7 +7,9 @@ import {
|
|
|
6
7
|
getDocFromElement,
|
|
7
8
|
toggleBreakout,
|
|
8
9
|
} from '@atlaskit/editor-test-helpers/integration/helpers';
|
|
10
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
9
11
|
import { clickFirstCell } from '@atlaskit/editor-test-helpers/page-objects/table';
|
|
12
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
10
13
|
import {
|
|
11
14
|
goToEditorTestingWDExample,
|
|
12
15
|
mountEditor,
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
1
2
|
import {
|
|
2
3
|
expectToMatchSelection,
|
|
3
4
|
fullpage,
|
|
4
5
|
setProseMirrorTextSelection,
|
|
5
6
|
} from '@atlaskit/editor-test-helpers/integration/helpers';
|
|
7
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
6
8
|
import {
|
|
7
9
|
goToEditorTestingWDExample,
|
|
8
10
|
mountEditor,
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
1
2
|
import {
|
|
2
3
|
fullpage,
|
|
3
4
|
hoverResizeHandler,
|
|
4
5
|
quickInsert,
|
|
5
6
|
} from '@atlaskit/editor-test-helpers/integration/helpers';
|
|
7
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
6
8
|
import {
|
|
7
9
|
clickFirstCell,
|
|
8
10
|
getSelectorForTableCell,
|
|
9
11
|
} from '@atlaskit/editor-test-helpers/page-objects/table';
|
|
12
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
10
13
|
import {
|
|
11
14
|
goToEditorTestingWDExample,
|
|
12
15
|
mountEditor,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { tableNewColumnMinWidth } from '@atlaskit/editor-common/styles';
|
|
2
|
-
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
+
import type { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
3
4
|
import {
|
|
4
5
|
editable,
|
|
5
6
|
fullpage,
|
|
@@ -8,11 +9,13 @@ import {
|
|
|
8
9
|
selectColumns,
|
|
9
10
|
updateEditorProps,
|
|
10
11
|
} from '@atlaskit/editor-test-helpers/integration/helpers';
|
|
12
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
11
13
|
import {
|
|
12
14
|
clickFirstCell,
|
|
13
15
|
insertColumn,
|
|
14
16
|
selectTable,
|
|
15
17
|
} from '@atlaskit/editor-test-helpers/page-objects/table';
|
|
18
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
16
19
|
import {
|
|
17
20
|
goToEditorTestingWDExample,
|
|
18
21
|
mountEditor,
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
1
2
|
import {
|
|
2
3
|
editable,
|
|
3
4
|
fullpage,
|
|
4
5
|
getDocFromElement,
|
|
5
6
|
} from '@atlaskit/editor-test-helpers/integration/helpers';
|
|
7
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
6
8
|
import {
|
|
7
9
|
deleteColumn,
|
|
8
10
|
insertColumn,
|
|
9
11
|
} from '@atlaskit/editor-test-helpers/page-objects/table';
|
|
12
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
10
13
|
import {
|
|
11
14
|
goToEditorTestingWDExample,
|
|
12
15
|
mountEditor,
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
1
2
|
import {
|
|
2
3
|
fullpage,
|
|
3
4
|
tableSelectors,
|
|
4
5
|
} from '@atlaskit/editor-test-helpers/integration/helpers';
|
|
6
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
5
7
|
import {
|
|
6
8
|
goToEditorTestingWDExample,
|
|
7
9
|
mountEditor,
|
|
8
10
|
} from '@atlaskit/editor-test-helpers/testing-example-page';
|
|
9
11
|
import { BrowserTestCase } from '@atlaskit/webdriver-runner/runner';
|
|
10
|
-
import WebdriverPage from '@atlaskit/webdriver-runner/wd-wrapper';
|
|
12
|
+
import type WebdriverPage from '@atlaskit/webdriver-runner/wd-wrapper';
|
|
11
13
|
|
|
12
14
|
import stickyTable from './__fixtures__/large-table-with-sticky-header';
|
|
13
15
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { DocBuilder } from '@atlaskit/editor-common/types';
|
|
4
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
4
5
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
5
6
|
import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
6
7
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -9,10 +10,12 @@ import { guidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
|
9
10
|
import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
10
11
|
import type { Rect } from '@atlaskit/editor-tables/table-map';
|
|
11
12
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
13
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
12
14
|
import {
|
|
13
15
|
createProsemirrorEditorFactory,
|
|
14
16
|
Preset,
|
|
15
17
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
18
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
16
19
|
import {
|
|
17
20
|
doc,
|
|
18
21
|
p,
|
|
@@ -23,6 +26,7 @@ import {
|
|
|
23
26
|
thEmpty,
|
|
24
27
|
tr,
|
|
25
28
|
} from '@atlaskit/editor-test-helpers/doc-builder';
|
|
29
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
26
30
|
import sendKeyToPm from '@atlaskit/editor-test-helpers/send-key-to-pm';
|
|
27
31
|
import { B50 } from '@atlaskit/theme/colors';
|
|
28
32
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DocBuilder } from '@atlaskit/editor-common/types';
|
|
2
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
2
3
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
3
4
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
5
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -7,10 +8,12 @@ import { guidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
|
7
8
|
import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
8
9
|
import { removeColumnAt } from '@atlaskit/editor-tables/utils';
|
|
9
10
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
11
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
10
12
|
import {
|
|
11
13
|
createProsemirrorEditorFactory,
|
|
12
14
|
Preset,
|
|
13
15
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
16
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
14
17
|
import {
|
|
15
18
|
doc,
|
|
16
19
|
p,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
import type { DocBuilder } from '@atlaskit/editor-common/types';
|
|
3
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
3
4
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
4
5
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
5
6
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -8,10 +9,12 @@ import { guidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
|
8
9
|
import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
9
10
|
import type { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
10
11
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
12
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
11
13
|
import {
|
|
12
14
|
createProsemirrorEditorFactory,
|
|
13
15
|
Preset,
|
|
14
16
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
17
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
15
18
|
import {
|
|
16
19
|
doc,
|
|
17
20
|
p,
|
|
@@ -2,6 +2,7 @@ import type {
|
|
|
2
2
|
DocBuilder,
|
|
3
3
|
GetEditorContainerWidth,
|
|
4
4
|
} from '@atlaskit/editor-common/types';
|
|
5
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
5
6
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
6
7
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
7
8
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -10,10 +11,12 @@ import { guidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
|
10
11
|
import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
11
12
|
import type { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
12
13
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
14
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
13
15
|
import {
|
|
14
16
|
createProsemirrorEditorFactory,
|
|
15
17
|
Preset,
|
|
16
18
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
19
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
17
20
|
import {
|
|
18
21
|
doc,
|
|
19
22
|
p,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DocBuilder } from '@atlaskit/editor-common/types';
|
|
2
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
2
3
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
3
4
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
5
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -9,10 +10,12 @@ import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
|
9
10
|
import type { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
10
11
|
import { isColumnSelected } from '@atlaskit/editor-tables/utils';
|
|
11
12
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
13
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
12
14
|
import {
|
|
13
15
|
createProsemirrorEditorFactory,
|
|
14
16
|
Preset,
|
|
15
17
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
18
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
16
19
|
import {
|
|
17
20
|
doc,
|
|
18
21
|
p,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { uuid } from '@atlaskit/adf-schema';
|
|
2
2
|
import { TableSortOrder as SortOrder } from '@atlaskit/adf-schema/steps';
|
|
3
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
3
4
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
4
5
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
5
6
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -7,10 +8,12 @@ import { featureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
|
7
8
|
import { guidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
8
9
|
import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
9
10
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
11
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
10
12
|
import {
|
|
11
13
|
createProsemirrorEditorFactory,
|
|
12
14
|
Preset,
|
|
13
15
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
16
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
14
17
|
import {
|
|
15
18
|
doc,
|
|
16
19
|
p,
|
|
@@ -2,6 +2,7 @@ import { uuid } from '@atlaskit/adf-schema';
|
|
|
2
2
|
import { defaultSchema } from '@atlaskit/adf-schema/schema-default';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { DocBuilder } from '@atlaskit/editor-common/types';
|
|
5
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
5
6
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
6
7
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
7
8
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -17,10 +18,12 @@ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
|
17
18
|
import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
|
|
18
19
|
import { isRowSelected } from '@atlaskit/editor-tables/utils';
|
|
19
20
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
21
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
20
22
|
import {
|
|
21
23
|
createProsemirrorEditorFactory,
|
|
22
24
|
Preset,
|
|
23
25
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
26
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
24
27
|
import {
|
|
25
28
|
doc,
|
|
26
29
|
p,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import { uuid } from '@atlaskit/adf-schema';
|
|
4
4
|
import { transformSliceToRemoveOpenExpand } from '@atlaskit/editor-common/transforms';
|
|
5
5
|
import type { DocBuilder } from '@atlaskit/editor-common/types';
|
|
6
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
6
7
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
7
8
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
8
9
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -28,11 +29,14 @@ import {
|
|
|
28
29
|
selectTable,
|
|
29
30
|
} from '@atlaskit/editor-tables/utils';
|
|
30
31
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
32
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
31
33
|
import {
|
|
32
34
|
createProsemirrorEditorFactory,
|
|
33
35
|
Preset,
|
|
34
36
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
37
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
35
38
|
import dispatchPasteEvent from '@atlaskit/editor-test-helpers/dispatch-paste-event';
|
|
39
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
36
40
|
import {
|
|
37
41
|
br,
|
|
38
42
|
code_block,
|
|
@@ -45,6 +49,7 @@ import {
|
|
|
45
49
|
th,
|
|
46
50
|
tr,
|
|
47
51
|
} from '@atlaskit/editor-test-helpers/doc-builder';
|
|
52
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
48
53
|
import defaultSchema from '@atlaskit/editor-test-helpers/schema';
|
|
49
54
|
|
|
50
55
|
import tablePlugin from '../../plugins/table-plugin';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DocBuilder } from '@atlaskit/editor-common/types';
|
|
2
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
2
3
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
3
4
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
5
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -7,10 +8,12 @@ import { guidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
|
7
8
|
import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
8
9
|
import type { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
9
10
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
11
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
10
12
|
import {
|
|
11
13
|
createProsemirrorEditorFactory,
|
|
12
14
|
Preset,
|
|
13
15
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
16
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
14
17
|
import {
|
|
15
18
|
doc,
|
|
16
19
|
table,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DocBuilder } from '@atlaskit/editor-common/types';
|
|
2
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
2
3
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
3
4
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
5
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -9,10 +10,12 @@ import { guidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
|
9
10
|
import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
10
11
|
import { TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
11
12
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
13
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
12
14
|
import {
|
|
13
15
|
createProsemirrorEditorFactory,
|
|
14
16
|
Preset,
|
|
15
17
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
18
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
16
19
|
import {
|
|
17
20
|
doc,
|
|
18
21
|
p,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DocBuilder } from '@atlaskit/editor-common/types';
|
|
2
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
2
3
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
3
4
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
5
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -6,10 +7,12 @@ import { featureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
|
6
7
|
import { guidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
7
8
|
import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
8
9
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
10
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
9
11
|
import {
|
|
10
12
|
createProsemirrorEditorFactory,
|
|
11
13
|
Preset,
|
|
12
14
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
15
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
13
16
|
import {
|
|
14
17
|
doc,
|
|
15
18
|
p,
|
|
@@ -5,6 +5,7 @@ import type {
|
|
|
5
5
|
FloatingToolbarItem,
|
|
6
6
|
GetEditorFeatureFlags,
|
|
7
7
|
} from '@atlaskit/editor-common/types';
|
|
8
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
8
9
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
9
10
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
10
11
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -14,10 +15,12 @@ import { guidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
|
14
15
|
import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
15
16
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
16
17
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
18
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
17
19
|
import {
|
|
18
20
|
createProsemirrorEditorFactory,
|
|
19
21
|
Preset,
|
|
20
22
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
23
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
21
24
|
import {
|
|
22
25
|
doc,
|
|
23
26
|
p,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DocBuilder } from '@atlaskit/editor-common/types';
|
|
2
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
2
3
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
3
4
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
5
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -8,10 +9,12 @@ import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
|
8
9
|
import type { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
9
10
|
import { TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
10
11
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
12
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
11
13
|
import {
|
|
12
14
|
createProsemirrorEditorFactory,
|
|
13
15
|
Preset,
|
|
14
16
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
17
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
15
18
|
import {
|
|
16
19
|
doc,
|
|
17
20
|
table,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DocBuilder } from '@atlaskit/editor-common/types';
|
|
2
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
2
3
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
3
4
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
5
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -13,10 +14,12 @@ import {
|
|
|
13
14
|
getCellsInTable,
|
|
14
15
|
} from '@atlaskit/editor-tables/utils';
|
|
15
16
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
17
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
16
18
|
import {
|
|
17
19
|
createProsemirrorEditorFactory,
|
|
18
20
|
Preset,
|
|
19
21
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
22
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
20
23
|
import {
|
|
21
24
|
doc,
|
|
22
25
|
p,
|
|
@@ -25,6 +28,7 @@ import {
|
|
|
25
28
|
tdEmpty,
|
|
26
29
|
tr,
|
|
27
30
|
} from '@atlaskit/editor-test-helpers/doc-builder';
|
|
31
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
28
32
|
import { selectColumns } from '@atlaskit/editor-test-helpers/table';
|
|
29
33
|
|
|
30
34
|
import tablePlugin from '../../plugins/table-plugin';
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
import { defaultSchema } from '@atlaskit/adf-schema/schema-default';
|
|
3
3
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
4
4
|
import type { DocBuilder } from '@atlaskit/editor-common/types';
|
|
5
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
5
6
|
import { createEditorFactory } from '@atlaskit/editor-test-helpers/create-editor';
|
|
7
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
6
8
|
import {
|
|
7
9
|
doc,
|
|
8
10
|
p,
|
|
@@ -4,6 +4,7 @@ import type {
|
|
|
4
4
|
GetEditorContainerWidth,
|
|
5
5
|
} from '@atlaskit/editor-common/types';
|
|
6
6
|
import { setNodeSelection } from '@atlaskit/editor-common/utils';
|
|
7
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
7
8
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
8
9
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
9
10
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -21,10 +22,12 @@ import {
|
|
|
21
22
|
selectTable,
|
|
22
23
|
} from '@atlaskit/editor-tables/utils';
|
|
23
24
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
25
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
24
26
|
import {
|
|
25
27
|
createProsemirrorEditorFactory,
|
|
26
28
|
Preset,
|
|
27
29
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
30
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
28
31
|
import {
|
|
29
32
|
doc,
|
|
30
33
|
media,
|
|
@@ -39,6 +42,7 @@ import {
|
|
|
39
42
|
thEmpty,
|
|
40
43
|
tr,
|
|
41
44
|
} from '@atlaskit/editor-test-helpers/doc-builder';
|
|
45
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
42
46
|
import sendKeyToPm from '@atlaskit/editor-test-helpers/send-key-to-pm';
|
|
43
47
|
|
|
44
48
|
import tablePlugin from '../../plugins/table-plugin';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { TableLayout } from '@atlaskit/adf-schema';
|
|
2
2
|
import type { DocBuilder } from '@atlaskit/editor-common/types';
|
|
3
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
3
4
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
4
5
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
5
6
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -10,10 +11,12 @@ import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
|
10
11
|
import type { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
11
12
|
import { findTable } from '@atlaskit/editor-tables/utils';
|
|
12
13
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
14
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
13
15
|
import {
|
|
14
16
|
createProsemirrorEditorFactory,
|
|
15
17
|
Preset,
|
|
16
18
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
19
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
17
20
|
import {
|
|
18
21
|
doc,
|
|
19
22
|
table,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
1
2
|
import { MockIntersectionObserver } from '@atlaskit/editor-test-helpers/mock-intersection-observer';
|
|
2
3
|
|
|
3
4
|
import { OverflowShadowsObserver } from '../../../plugins/table/nodeviews/OverflowShadowsObserver';
|
|
@@ -13,7 +13,9 @@ import {
|
|
|
13
13
|
findTableClosestToPos,
|
|
14
14
|
selectTable,
|
|
15
15
|
} from '@atlaskit/editor-tables/utils';
|
|
16
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
16
17
|
import { createEditorFactory } from '@atlaskit/editor-test-helpers/create-editor';
|
|
18
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
17
19
|
import {
|
|
18
20
|
doc,
|
|
19
21
|
p,
|
|
@@ -11,7 +11,9 @@ import {
|
|
|
11
11
|
import type { DocBuilder } from '@atlaskit/editor-common/types';
|
|
12
12
|
import { akEditorWideLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
13
13
|
import { findTable } from '@atlaskit/editor-tables/utils';
|
|
14
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
14
15
|
import { createEditorFactory } from '@atlaskit/editor-test-helpers/create-editor';
|
|
16
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
15
17
|
import {
|
|
16
18
|
doc,
|
|
17
19
|
p,
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
uuid,
|
|
5
5
|
} from '@atlaskit/adf-schema';
|
|
6
6
|
import type { DocBuilder } from '@atlaskit/editor-common/types';
|
|
7
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
7
8
|
import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
|
|
8
9
|
import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
9
10
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
@@ -15,10 +16,12 @@ import {
|
|
|
15
16
|
setCellAttrs,
|
|
16
17
|
} from '@atlaskit/editor-tables/utils';
|
|
17
18
|
import type { LightEditorPlugin } from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
19
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
18
20
|
import {
|
|
19
21
|
createProsemirrorEditorFactory,
|
|
20
22
|
Preset,
|
|
21
23
|
} from '@atlaskit/editor-test-helpers/create-prosemirror-editor';
|
|
24
|
+
// eslint-disable-next-line import/no-extraneous-dependencies -- Removed import for fixing circular dependencies
|
|
22
25
|
import {
|
|
23
26
|
doc,
|
|
24
27
|
p,
|