Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xvashishth/img-resize-tiptap-extension
An extension for image resizing of TipTap Editor
https://github.com/0xvashishth/img-resize-tiptap-extension
image-resize tiptap tiptap-image tiptap-image-extension tiptap-image-resize
Last synced: about 5 hours ago
JSON representation
An extension for image resizing of TipTap Editor
- Host: GitHub
- URL: https://github.com/0xvashishth/img-resize-tiptap-extension
- Owner: 0xvashishth
- License: mit
- Created: 2024-03-19T17:11:50.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-20T19:23:39.000Z (8 months ago)
- Last Synced: 2024-05-02T04:49:09.664Z (7 months ago)
- Topics: image-resize, tiptap, tiptap-image, tiptap-image-extension, tiptap-image-resize
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/img-resize-tiptap-extension
- Size: 149 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Image Resize Extension For Tiptap
### Usage
```js
import { ResizableImage } from "img-resize-tiptap-extension";
import StarterKit from "@tiptap/starter-kit";
import Image from "@tiptap/extension-image";const extensions = [StarterKit, Image, ResizableImage];
const editor = useEditor({
extensions,
content,
});;
```
- Feel free to raise Pull Request if you find any bug or any improvement.