Skip to content

Commit

Permalink
feat: removing unwrap list override []
Browse files Browse the repository at this point in the history
  • Loading branch information
aodhagan-cf committed Jul 8, 2024
1 parent e692029 commit 34326c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 53 deletions.
3 changes: 1 addition & 2 deletions packages/rich-text/src/plugins/List/transforms/toggleList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
import { BLOCKS } from '@contentful/rich-text-types';
import { ELEMENT_LIC } from '@udecode/plate-list';
import { getListItemEntry } from '@udecode/plate-list';
import { getListItemEntry, unwrapList } from '@udecode/plate-list';

import { withoutNormalizing } from '../../../internal';
import { ELEMENT_DEFAULT } from '../../../internal/constants';
Expand All @@ -22,7 +22,6 @@ import {
} from '../../../internal/queries';
import { setNodes, wrapNodes } from '../../../internal/transforms';
import { PlateEditor, Element, Location, NodeEntry } from '../../../internal/types';
import { unwrapList } from './unwrapList';

const listTypes = [BLOCKS.UL_LIST, BLOCKS.OL_LIST] as string[];

Expand Down
51 changes: 0 additions & 51 deletions packages/rich-text/src/plugins/List/transforms/unwrapList.ts

This file was deleted.

0 comments on commit 34326c3

Please sign in to comment.