Skip to content

Commit

Permalink
Merge pull request #3794 from udecode/docs/media
Browse files Browse the repository at this point in the history
Upload
  • Loading branch information
zbeyens committed Nov 20, 2024
1 parent eed47d5 commit cdeb96b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
'react/display-name': 'off',
'react/jsx-key': 'off',
'react/no-unescaped-entities': 'off',
'tailwindcss/classnames-order': 'warn',
'tailwindcss/classnames-order': 'off',
'tailwindcss/no-custom-classname': 'off',
'unused-imports/no-unused-imports': 'warn',
'unused-imports/no-unused-vars': [
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ npx shadcx@latest add editor-basic -r plate

### 2. Using Template

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

```bash
pnpm install
Expand Down
2 changes: 1 addition & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
"prefix": ""
},
"tsx": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
export const useCreateEditor = () => {
return usePlateEditor({
override: {
// Default styles in globals.css
components: {
[BoldPlugin.key]: withProps(PlateLeaf, { as: 'strong' }),
[ItalicPlugin.key]: withProps(PlateLeaf, { as: 'em' }),
Expand Down
1 change: 1 addition & 0 deletions src/components/plate-ui/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ const editorVariants = cva(
'size-full px-16 pb-72 pt-4 text-base sm:px-[max(64px,calc(50%-350px))]',
demo: 'size-full px-16 pb-72 pt-4 text-base sm:px-[max(64px,calc(50%-350px))]',
fullWidth: 'size-full px-16 pb-72 pt-4 text-base sm:px-24',
none: '',
},
},
}
Expand Down

0 comments on commit cdeb96b

Please sign in to comment.