Skip to content

Commit

Permalink
removing visua leditor
Browse files Browse the repository at this point in the history
  • Loading branch information
colbyfayock committed Jul 18, 2023
1 parent e09138a commit 4ffd375
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 344 deletions.
53 changes: 0 additions & 53 deletions docs/components/VisualEditor/VideoEditor.js

This file was deleted.

10 changes: 0 additions & 10 deletions docs/components/VisualEditor/VisualEditor.module.scss

This file was deleted.

1 change: 0 additions & 1 deletion docs/components/VisualEditor/index.js

This file was deleted.

4 changes: 0 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@
"lint": "next lint"
},
"dependencies": {
"@codemirror/lang-javascript": "^6.1.9",
"@uiw/codemirror-theme-tokyo-night": "^4.21.7",
"@uiw/react-codemirror": "^4.21.7",
"@vercel/analytics": "^1.0.1",
"cloudinary": "^1.37.3",
"html-react-parser": "^4.0.0",
"next": "^13.4.9",
"nextra": "^2.9.0",
"nextra-theme-docs": "^2.9.0",
Expand Down
14 changes: 0 additions & 14 deletions docs/pages/cldimage/basic-usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { CldImage } from '../../../next-cloudinary';
import ImageGrid from '../../components/ImageGrid';
import OgImage from '../../components/OgImage';
import Video from '../../components/Video';
import VisualEditor from '../../components/VisualEditor';

<Head>
<title>CldImage - Next Cloudinary</title>
Expand All @@ -31,19 +30,6 @@ As CldImage is a wrapper around the Next.js Image component, you also gain acces

The basic required props include `width`, `height`, `src`, and `alt`:

<VisualEditor
defaultCode={`
<CldImage
width="960"
height="600"
src="images/galaxy"
sizes="(max-width: 480px) 100vw, 50vw"
removeBackground
alt=""
/>
`}
/>

```jsx
import { CldImage } from 'next-cloudinary';

Expand Down
Loading

0 comments on commit 4ffd375

Please sign in to comment.