@contentful/field-editor-rich-text 6.6.14-canary.1 → 6.6.14

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,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  const _richtexttypes = require("@contentful/rich-text-types");
6
6
  const _platejs = require("platejs");
7
7
  const _vitest = require("vitest");
8
- const _plugins = require("../../plugins");
9
8
  const _Paragraph = require("../../plugins/Paragraph/Paragraph");
10
9
  const _sanitizeHTML = require("../../plugins/PasteHTML/utils/sanitizeHTML");
11
10
  const _Cell = require("../../plugins/Table/components/Cell");
@@ -210,14 +209,3 @@ const _createTestEditor = require("../../test-utils/createTestEditor");
210
209
  _richtexttypes.BLOCKS.PARAGRAPH
211
210
  ]);
212
211
  });
213
- (0, _vitest.it)('always registers caret sync', ()=>{
214
- const sdk = {
215
- field: {
216
- validation: []
217
- }
218
- };
219
- const { editor } = (0, _createTestEditor.createTestEditor)({
220
- plugins: (0, _plugins.getPlugins)(sdk, _vitest.vi.fn())
221
- });
222
- (0, _vitest.expect)(editor.plugins.selectionSync).toBeDefined();
223
- });
@@ -1,7 +1,6 @@
1
1
  import { BLOCKS } from '@contentful/rich-text-types';
2
2
  import { getPluginByType, getPluginType, KEYS } from 'platejs';
3
3
  import { expect, it, vi } from 'vitest';
4
- import { getPlugins } from '../../plugins';
5
4
  import { Paragraph } from '../../plugins/Paragraph/Paragraph';
6
5
  import { sanitizeHTML } from '../../plugins/PasteHTML/utils/sanitizeHTML';
7
6
  import { Cell } from '../../plugins/Table/components/Cell';
@@ -206,14 +205,3 @@ it('unwraps an empty quote on Backspace', ()=>{
206
205
  BLOCKS.PARAGRAPH
207
206
  ]);
208
207
  });
209
- it('always registers caret sync', ()=>{
210
- const sdk = {
211
- field: {
212
- validation: []
213
- }
214
- };
215
- const { editor } = createTestEditor({
216
- plugins: getPlugins(sdk, vi.fn())
217
- });
218
- expect(editor.plugins.selectionSync).toBeDefined();
219
- });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-rich-text",
3
- "version": "6.6.14-canary.1+01bd1473",
3
+ "version": "6.6.14",
4
4
  "source": "./src/index.tsx",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -96,5 +96,5 @@
96
96
  "prettier --write"
97
97
  ]
98
98
  },
99
- "gitHead": "01bd1473053db3042b2cfa1c25734cbbca4ea3ba"
99
+ "gitHead": "9742da65a3db578d2a4051c521ea9c1acd33c256"
100
100
  }