Welcome to the Tiptap Shadcn Vue repository! This project integrates the powerful Tiptap editor with Vue and Nuxt, providing a seamless experience for developers looking to implement rich text editing in their applications.
- Rich Text Editing: Utilize Tiptap's extensive features for a rich text editing experience.
- Vue and Nuxt Support: Built specifically for Vue and Nuxt applications, ensuring compatibility and ease of use.
- Customizable: Easily customize the editor to fit your application's needs.
- Lightweight: Designed to be efficient and lightweight, ensuring quick load times.
To get started with Tiptap Shadcn Vue, follow these steps:
-
Clone the repository:
git clone https://github.com/JINKSY00101/tiptap-shadcn-vue.git
-
Navigate to the project directory:
cd tiptap-shadcn-vue -
Install the dependencies:
npm install
-
Run the development server:
npm run dev
To use Tiptap in your Vue or Nuxt application, follow these steps:
-
Import the Editor: Import the Tiptap editor in your component:
import { EditorContent, useEditor } from '@tiptap/vue-3';
-
Set Up the Editor: Create a new editor instance in your component's setup function:
const editor = useEditor({ content: '<p>Hello World!</p>', extensions: [ // Add Tiptap extensions here ], });
-
Render the Editor: Use the
EditorContentcomponent to render the editor in your template:<EditorContent :editor="editor" />
-
Handle Updates: Listen for updates and handle the content as needed:
watch(() => editor.getHTML(), (newContent) => { console.log(newContent); });
For more detailed examples and advanced usage, please refer to the Tiptap Documentation.
We welcome contributions! If you'd like to help improve this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your branch to your forked repository.
- Create a pull request.
Please ensure your code adheres to our coding standards and includes appropriate tests.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any inquiries or issues, please reach out via GitHub or open an issue in the repository.
To download the latest release, visit the Releases section. You can find the latest files to download and execute.
- shadcn-tiptap
- tiptap
- tiptap-nuxt
- tiptap-v3
- tiptap-vue
Thank you for checking out Tiptap Shadcn Vue! We hope you find it useful for your projects. Happy coding! 🚀