Skip to content

Commit cdeb96b

Browse files
committed
Merge pull request #3794 from udecode/docs/media
Upload
1 parent eed47d5 commit cdeb96b

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424
'react/display-name': 'off',
2525
'react/jsx-key': 'off',
2626
'react/no-unescaped-entities': 'off',
27-
'tailwindcss/classnames-order': 'warn',
27+
'tailwindcss/classnames-order': 'off',
2828
'tailwindcss/no-custom-classname': 'off',
2929
'unused-imports/no-unused-imports': 'warn',
3030
'unused-imports/no-unused-vars': [

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ npx shadcx@latest add editor-basic -r plate
2424

2525
### 2. Using Template
2626

27-
[Use this template](https://github.com/plate-editor/plate-template/generate), then install dependencies:
27+
[Use this template](https://github.com/udecode/plate-template/generate), then install dependencies:
2828

2929
```bash
3030
pnpm install

components.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
"prefix": ""
2626
},
2727
"tsx": true
28-
}
28+
}

src/components/editor/use-create-editor.tsx src/components/editor/use-create-editor.ts

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import {
1919
export const useCreateEditor = () => {
2020
return usePlateEditor({
2121
override: {
22-
// Default styles in globals.css
2322
components: {
2423
[BoldPlugin.key]: withProps(PlateLeaf, { as: 'strong' }),
2524
[ItalicPlugin.key]: withProps(PlateLeaf, { as: 'em' }),

src/components/plate-ui/editor.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ const editorVariants = cva(
8282
'size-full px-16 pb-72 pt-4 text-base sm:px-[max(64px,calc(50%-350px))]',
8383
demo: 'size-full px-16 pb-72 pt-4 text-base sm:px-[max(64px,calc(50%-350px))]',
8484
fullWidth: 'size-full px-16 pb-72 pt-4 text-base sm:px-24',
85+
none: '',
8586
},
8687
},
8788
}

0 commit comments

Comments
 (0)