Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
zbeyens committed Sep 12, 2024
1 parent 64e3f2a commit abaf992
Showing 403 changed files with 6,002 additions and 6,137 deletions.
5 changes: 5 additions & 0 deletions .changeset/famous-queens-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@udecode/plate-utils': patch
---

Upgrade `clsx`
5 changes: 5 additions & 0 deletions .changeset/honest-shrimps-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@udecode/plate-juice': patch
---

Upgrade `juice`
47 changes: 47 additions & 0 deletions .changeset/hot-socks-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
'@udecode/plate-horizontal-rule': patch
'@udecode/plate-basic-elements': patch
'@udecode/plate-trailing-block': patch
'@udecode/plate-slash-command': patch
'@udecode/plate-basic-marks': patch
'@udecode/plate-block-quote': patch
'@udecode/plate-indent-list': patch
'@udecode/plate-line-height': patch
'@udecode/plate-normalizers': patch
'@udecode/plate-autoformat': patch
'@udecode/plate-code-block': patch
'@udecode/plate-excalidraw': patch
'@udecode/plate-reset-node': patch
'@udecode/plate-suggestion': patch
'@udecode/plate-alignment': patch
'@udecode/plate-highlight': patch
'@udecode/plate-combobox': patch
'@udecode/plate-comments': patch
'@udecode/plate-tabbable': patch
'@udecode/plate-callout': patch
'@udecode/plate-caption': patch
'@udecode/plate-heading': patch
'@udecode/plate-mention': patch
'@udecode/plate-node-id': patch
'@udecode/plate-indent': patch
'@udecode/plate-layout': patch
'@udecode/plate-select': patch
'@udecode/plate-toggle': patch
'@udecode/plate-break': patch
'@udecode/plate-cloud': patch
'@udecode/plate-emoji': patch
'@udecode/plate-media': patch
'@udecode/plate-table': patch
'@udecode/plate-date': patch
'@udecode/plate-docx': patch
'@udecode/plate-font': patch
'@udecode/plate-html': patch
'@udecode/plate-link': patch
'@udecode/plate-list': patch
'@udecode/plate-math': patch
'@udecode/plate-csv': patch
'@udecode/plate-kbd': patch
'@udecode/plate-yjs': patch
---

Prefix base plugin with `Base`
6 changes: 6 additions & 0 deletions .changeset/new-carrots-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@udecode/react-utils': patch
---

- `withRef` support `typescript@5.6.x`
- Upgrade dependencies
5 changes: 5 additions & 0 deletions .changeset/nice-mayflies-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@udecode/plate-markdown': patch
---

Upgrade `unified`
5 changes: 5 additions & 0 deletions .changeset/quiet-masks-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@udecode/plate-floating': patch
---

Upgrade `@floating-ui/core` and` @floating-ui/react`
5 changes: 5 additions & 0 deletions .changeset/seven-phones-doubt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@udecode/plate-yjs': patch
---

Upgrade `yjs`, `@hocuspocus/provider`
7 changes: 7 additions & 0 deletions .changeset/weak-humans-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@udecode/plate-core': patch
---

- Rename all base plugins that have a React plugin counterpart to be prefixed with `Base`. This change improves clarity and distinguishes base implementations from potential React extensions. Use base plugins only for server-side environments or to extend your own DOM layer.
- Import the following plugins from `/react` entry: `AlignPlugin`, `CalloutPlugin`, `EquationPlugin`, `FontBackgroundColorPlugin`, `FontColorPlugin`, `FontFamilyPlugin`, `FontSizePlugin`, `FontWeightPlugin`, `InlineEquationPlugin`, `LineHeightPlugin`, `TextIndentPlugin`, `TocPlugin`
- Upgrade dependencies
893 changes: 0 additions & 893 deletions .yarn/releases/yarn-4.1.0.cjs

This file was deleted.

925 changes: 925 additions & 0 deletions .yarn/releases/yarn-4.4.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -18,4 +18,4 @@ supportedArchitectures:
os:
- current

yarnPath: .yarn/releases/yarn-4.1.0.cjs
yarnPath: .yarn/releases/yarn-4.4.1.cjs
6 changes: 3 additions & 3 deletions BREAKING_CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
For older changelogs, see https://github.com/udecode/plate/blob/main/docs

# 38.1.0
# 38.0.1

## @udecode/plate-core@38.1.0
## @udecode/plate-core@38.0.1

### Major Changes

@@ -46,7 +46,7 @@ For older changelogs, see https://github.com/udecode/plate/blob/main/docs
- If you're using nested options and want to preserve the previous behavior, you need to manually spread both the top-level options and the nested objects.
- If you're not using nested options, no changes are required.

- Renamed all base plugins that have a React plugin counterpart to be prefixed with `Base`. This change improves clarity and distinguishes base implementations from potential React extensions. Use base plugins only for server-side environments or to extend your own DOM layer.
- Rename all base plugins that have a React plugin counterpart to be prefixed with `Base`. This change improves clarity and distinguishes base implementations from potential React extensions. Use base plugins only for server-side environments or to extend your own DOM layer.
- Import the following plugins from `/react` entry: `AlignPlugin`, `CalloutPlugin`, `EquationPlugin`, `FontBackgroundColorPlugin`, `FontColorPlugin`, `FontFamilyPlugin`, `FontSizePlugin`, `FontWeightPlugin`, `InlineEquationPlugin`, `LineHeightPlugin`, `TextIndentPlugin`, `TocPlugin`

# 37.0.0
4 changes: 4 additions & 0 deletions apps/www/content/docs/components/changelog.mdx
Original file line number Diff line number Diff line change
@@ -10,6 +10,10 @@ Use the [CLI](https://platejs.org/docs/components/cli) to install the latest ver

## September 2024 #14

### September 13 #14.2

- fix `code-block-combobox`: filter based on label or value

### September 10 #14.1

- fix `floating-toolbar`: show toolbar when readOnly
2 changes: 1 addition & 1 deletion apps/www/content/docs/html.mdx
Original file line number Diff line number Diff line change
@@ -118,7 +118,7 @@ Plugins can define various properties to control HTML deserialization:
You can extend or customize the deserialization behavior of any plugin. Here's an example of how you might extend the `CodeBlockPlugin`:

```typescript
import { CodeBlockPlugin } from '@udecode/plate-code-block';
import { CodeBlockPlugin } from '@udecode/plate-code-block/react';

const CustomCodeBlockPlugin = CodeBlockPlugin.extend({
parsers: {
2 changes: 1 addition & 1 deletion apps/www/content/docs/toggle.mdx
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ npm install @udecode/plate-indent @udecode/plate-node-id @udecode/plate-toggle

```tsx
// ...
import { ParagraphPlugin } from '@udecode/plate-common';
import { ParagraphPlugin } from '@udecode/plate-common/react';
import { NodeIdPlugin } from '@udecode/plate-node-id';
import { IndentPlugin } from '@udecode/plate-indent/react';
import { TogglePlugin } from '@udecode/plate-toggle/react';
123 changes: 60 additions & 63 deletions apps/www/package.json
Original file line number Diff line number Diff line change
@@ -35,39 +35,38 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@ariakit/react": "0.4.6",
"@faker-js/faker": "^8.4.1",
"@radix-ui/colors": "1.0.1",
"@radix-ui/react-accessible-icon": "^1.0.3",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-aspect-ratio": "^1.0.3",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-context-menu": "^2.1.5",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-hover-card": "^1.0.7",
"@ariakit/react": "0.4.11",
"@radix-ui/colors": "3.0.0",
"@radix-ui/react-accessible-icon": "^1.1.0",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-aspect-ratio": "^1.1.0",
"@radix-ui/react-avatar": "^1.1.0",
"@radix-ui/react-checkbox": "^1.1.1",
"@radix-ui/react-collapsible": "^1.1.0",
"@radix-ui/react-context-menu": "^2.2.1",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-hover-card": "^1.1.1",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-menubar": "^1.0.4",
"@radix-ui/react-navigation-menu": "^1.1.4",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-progress": "^1.0.3",
"@radix-ui/react-radio-group": "^1.1.3",
"@radix-ui/react-scroll-area": "^1.0.5",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slider": "^1.1.2",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/react-toggle": "^1.0.3",
"@radix-ui/react-toggle-group": "^1.0.4",
"@radix-ui/react-toolbar": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.7",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-menubar": "^1.1.1",
"@radix-ui/react-navigation-menu": "^1.2.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-radio-group": "^1.2.0",
"@radix-ui/react-scroll-area": "^1.1.0",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slider": "^1.2.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.0",
"@radix-ui/react-toast": "^1.2.1",
"@radix-ui/react-toggle": "^1.1.0",
"@radix-ui/react-toggle-group": "^1.1.0",
"@radix-ui/react-toolbar": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.2",
"@udecode/cn": "workspace:^",
"@udecode/plate": "workspace:^",
"@udecode/plate-alignment": "workspace:^",
@@ -130,69 +129,67 @@
"@udecode/slate-react": "workspace:^",
"@udecode/slate-utils": "workspace:^",
"@udecode/utils": "workspace:^",
"@vercel/analytics": "^1.2.2",
"@vercel/og": "^0.6.2",
"class-variance-authority": "^0.7.0",
"cmdk": "^0.2.0",
"cmdk": "^1.0.0",
"contentlayer2": "^0.4.6",
"date-fns": "^2.30.0",
"framer-motion": "^10.18.0",
"date-fns": "^3.6.0",
"framer-motion": "^11.5.4",
"lodash.template": "^4.5.0",
"lucide-react": "^0.408.0",
"lucide-react": "^0.441.0",
"next": "14.3.0-canary.43",
"next-contentlayer2": "^0.4.6",
"next-themes": "^0.2.1",
"nuqs": "^1.17.1",
"prism-react-renderer": "^1.3.5",
"next-themes": "^0.3.0",
"nuqs": "^1.19.1",
"prismjs": "^1.29.0",
"react": "^18.2.0",
"react-day-picker": "^8.10.1 ",
"react": "^18.3.1",
"react-day-picker": "^8.10.1",
"react-dnd": "16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^18.2.0",
"react-dom": "^18.3.1",
"react-lite-youtube-embed": "^2.4.0",
"react-markdown": "8.0.7",
"react-markdown": "9.0.1",
"react-resizable-panels": "^0.0.55",
"react-syntax-highlighter": "^15.5.0",
"react-tweet": "^3.2.0",
"react-wrap-balancer": "^1.1.0",
"sass": "^1.72.0",
"react-tweet": "^3.2.1",
"react-wrap-balancer": "^1.1.1",
"sass": "^1.78.0",
"slate": "0.103.0",
"slate-history": "0.100.0",
"slate-history": "0.109.0",
"slate-hyperscript": "0.100.0",
"slate-react": "0.108.0",
"slate-react": "0.110.1",
"slate-test-utils": "1.3.2",
"sonner": "^1.4.32",
"sonner": "^1.5.0",
"swr": "2.2.6-beta.3",
"tailwind-merge": "^2.2.2",
"tailwind-merge": "^2.5.2",
"ts-morph": "^22.0.0",
"unist-builder": "4.0.0",
"unist-util-visit": "^5.0.0",
"vaul": "^0.9.1"
"vaul": "^0.9.2"
},
"devDependencies": {
"@shikijs/compat": "^1.1.7",
"@shikijs/compat": "^1.17.5",
"@types/lodash.template": "^4.5.3",
"@types/react-color": "^3.0.12",
"@types/react-syntax-highlighter": "^15.5.11",
"autoprefixer": "^10.4.18",
"concurrently": "^8.2.2",
"@types/react-syntax-highlighter": "^15.5.13",
"autoprefixer": "^10.4.20",
"concurrently": "^9.0.1",
"glob": "^11.0.0",
"mdast-util-toc": "^6.1.1",
"postcss": "^8.4.38",
"mdast-util-toc": "^7.1.0",
"postcss": "^8.4.45",
"rehype": "^12.0.1",
"rehype-autolink-headings": "^6.1.1",
"rehype-pretty-code": "^0.6.0",
"rehype-slug": "^5.1.0",
"remark": "^14.0.3",
"remark-code-import": "^1.2.0",
"remark-gfm": "^4.0.0",
"rimraf": "^5.0.5",
"shiki": "^1.10.1",
"tailwindcss": "^3.4.1",
"rimraf": "^6.0.1",
"shiki": "^1.17.5",
"tailwindcss": "^3.4.11",
"tailwindcss-animate": "^1.0.7",
"ts-node": "^10.9.2",
"tsx": "^4.7.1",
"typescript": "5.4.2"
"tsx": "^4.19.1",
"typescript": "5.6.2"
}
}
8 changes: 3 additions & 5 deletions apps/www/public/registry/styles/default/draggable.json
Original file line number Diff line number Diff line change
@@ -10,13 +10,11 @@
"name": "draggable.tsx"
},
{
"content": "import type { FC } from 'react';\n\nimport { BlockquotePlugin } from '@udecode/plate-block-quote/react';\nimport { CodeBlockPlugin } from '@udecode/plate-code-block/react';\nimport {\n ParagraphPlugin,\n createNodesWithHOC,\n} from '@udecode/plate-common/react';\nimport {\n type WithDraggableOptions,\n withDraggable as withDraggablePrimitive,\n} from '@udecode/plate-dnd';\nimport { ExcalidrawPlugin } from '@udecode/plate-excalidraw';\nimport { HEADING_KEYS } from '@udecode/plate-heading';\nimport { ColumnPlugin } from '@udecode/plate-layout';\nimport {\n BulletedListPlugin,\n NumberedListPlugin,\n} from '@udecode/plate-list/react';\nimport {\n ImagePlugin,\n MediaEmbedPlugin,\n PlaceholderPlugin,\n} from '@udecode/plate-media';\nimport { TablePlugin } from '@udecode/plate-table';\nimport { TogglePlugin } from '@udecode/plate-toggle';\n\nimport { Draggable, type DraggableProps } from './draggable';\n\nexport const withDraggable = (\n Component: FC,\n options?: WithDraggableOptions<\n Partial<Omit<DraggableProps, 'children' | 'editor' | 'element'>>\n >\n) =>\n withDraggablePrimitive<DraggableProps>(Draggable, Component, options as any);\n\nexport const withDraggablesPrimitive = createNodesWithHOC(withDraggable);\n\nexport const withDraggables = (components: any) => {\n return withDraggablesPrimitive(components, [\n {\n keys: [\n ParagraphPlugin.key,\n BulletedListPlugin.key,\n NumberedListPlugin.key,\n ],\n level: 0,\n },\n {\n draggableProps: {\n classNames: {\n blockToolbarWrapper: 'h-[1.3em]',\n gutterLeft: 'px-0 pb-1 text-[1.875em]',\n },\n },\n key: HEADING_KEYS.h1,\n },\n {\n draggableProps: {\n classNames: {\n blockToolbarWrapper: 'h-[1.3em]',\n gutterLeft: 'px-0 pb-1 text-[1.5em]',\n },\n },\n key: HEADING_KEYS.h2,\n },\n {\n draggableProps: {\n classNames: {\n blockToolbarWrapper: 'h-[1.3em]',\n gutterLeft: 'pt-[2px] px-0 pb-1 text-[1.25em]',\n },\n },\n key: HEADING_KEYS.h3,\n },\n {\n draggableProps: {\n classNames: {\n blockToolbarWrapper: 'h-[1.3em]',\n gutterLeft: 'pt-[3px] px-0 pb-0 text-[1.1em]',\n },\n },\n keys: [HEADING_KEYS.h4, HEADING_KEYS.h5],\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-[3px] px-0 pb-0',\n },\n },\n keys: [ParagraphPlugin.key],\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'px-0 pb-0',\n },\n },\n keys: [HEADING_KEYS.h6, BulletedListPlugin.key, NumberedListPlugin.key],\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'px-0 pb-0',\n },\n },\n key: BlockquotePlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-6 px-0 pb-0',\n },\n },\n key: CodeBlockPlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-0 px-0 pb-0',\n },\n },\n key: ImagePlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-0 px-0 pb-0',\n },\n },\n key: MediaEmbedPlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-0 px-0 pb-0',\n },\n },\n key: ExcalidrawPlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-0 px-0 pb-0',\n },\n },\n key: TogglePlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-0 px-0 pb-0',\n },\n },\n key: ColumnPlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-3 px-0 pb-0',\n },\n },\n key: PlaceholderPlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-3 px-0 pb-0',\n },\n },\n key: TablePlugin.key,\n },\n ]);\n};\n",
"content": "import type { FC } from 'react';\n\nimport { BlockquotePlugin } from '@udecode/plate-block-quote/react';\nimport { CodeBlockPlugin } from '@udecode/plate-code-block/react';\nimport {\n ParagraphPlugin,\n createNodesWithHOC,\n} from '@udecode/plate-common/react';\nimport {\n type WithDraggableOptions,\n withDraggable as withDraggablePrimitive,\n} from '@udecode/plate-dnd';\nimport { ExcalidrawPlugin } from '@udecode/plate-excalidraw';\nimport { HEADING_KEYS } from '@udecode/plate-heading';\nimport { ColumnPlugin } from '@udecode/plate-layout';\nimport {\n BulletedListPlugin,\n NumberedListPlugin,\n} from '@udecode/plate-list/react';\nimport {\n ImagePlugin,\n MediaEmbedPlugin,\n PlaceholderPlugin,\n} from '@udecode/plate-media';\nimport { TablePlugin } from '@udecode/plate-table/react';\nimport { TogglePlugin } from '@udecode/plate-toggle/react';\n\nimport { Draggable, type DraggableProps } from './draggable';\n\nexport const withDraggable = (\n Component: FC,\n options?: WithDraggableOptions<\n Partial<Omit<DraggableProps, 'children' | 'editor' | 'element'>>\n >\n) =>\n withDraggablePrimitive<DraggableProps>(Draggable, Component, options as any);\n\nexport const withDraggablesPrimitive = createNodesWithHOC(withDraggable);\n\nexport const withDraggables = (components: any) => {\n return withDraggablesPrimitive(components, [\n {\n keys: [\n ParagraphPlugin.key,\n BulletedListPlugin.key,\n NumberedListPlugin.key,\n ],\n level: 0,\n },\n {\n draggableProps: {\n classNames: {\n blockToolbarWrapper: 'h-[1.3em]',\n gutterLeft: 'px-0 pb-1 text-[1.875em]',\n },\n },\n key: HEADING_KEYS.h1,\n },\n {\n draggableProps: {\n classNames: {\n blockToolbarWrapper: 'h-[1.3em]',\n gutterLeft: 'px-0 pb-1 text-[1.5em]',\n },\n },\n key: HEADING_KEYS.h2,\n },\n {\n draggableProps: {\n classNames: {\n blockToolbarWrapper: 'h-[1.3em]',\n gutterLeft: 'pt-[2px] px-0 pb-1 text-[1.25em]',\n },\n },\n key: HEADING_KEYS.h3,\n },\n {\n draggableProps: {\n classNames: {\n blockToolbarWrapper: 'h-[1.3em]',\n gutterLeft: 'pt-[3px] px-0 pb-0 text-[1.1em]',\n },\n },\n keys: [HEADING_KEYS.h4, HEADING_KEYS.h5],\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-[3px] px-0 pb-0',\n },\n },\n keys: [ParagraphPlugin.key],\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'px-0 pb-0',\n },\n },\n keys: [HEADING_KEYS.h6, BulletedListPlugin.key, NumberedListPlugin.key],\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'px-0 pb-0',\n },\n },\n key: BlockquotePlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-6 px-0 pb-0',\n },\n },\n key: CodeBlockPlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-0 px-0 pb-0',\n },\n },\n key: ImagePlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-0 px-0 pb-0',\n },\n },\n key: MediaEmbedPlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-0 px-0 pb-0',\n },\n },\n key: ExcalidrawPlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-0 px-0 pb-0',\n },\n },\n key: TogglePlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-0 px-0 pb-0',\n },\n },\n key: ColumnPlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-3 px-0 pb-0',\n },\n },\n key: PlaceholderPlugin.key,\n },\n {\n draggableProps: {\n classNames: {\n gutterLeft: 'pt-3 px-0 pb-0',\n },\n },\n key: TablePlugin.key,\n },\n ]);\n};\n",
"name": "with-draggables.tsx"
}
],
"name": "draggable",
"registryDependencies": [
"tooltip"
],
"registryDependencies": ["tooltip"],
"type": "components:plate-ui"
}
}
Loading

0 comments on commit abaf992

Please sign in to comment.