Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mantix/livewire-jodit-text-editor

A powerful Livewire rich text editor (WYSIWYG) component built top of Jodit Editor.
https://github.com/mantix/livewire-jodit-text-editor

jodit jodit-livewire laravel laravel10 laravel11 livewire livewire3 wysiwyg wysiwyg-editor wysiwyg-html-editor

Last synced: 4 months ago
JSON representation

A powerful Livewire rich text editor (WYSIWYG) component built top of Jodit Editor.

Awesome Lists containing this project

README

        

Livewire Jodit Text Editor (WYSIWYG)


Build Status
Total Downloads
Latest Stable Version
License

## ✨ Introduction
A powerful Livewire rich text editor (WYSIWYG) component that build top of Jodit Editor.

> To use this package, you must have [Livewire 3](https://livewire.laravel.com/) installed.

## 📦 Installation
Seconds install this package via Composer:
```bash
composer require mantix/livewire-jodit-text-editor
```

Include the Jodit Editor theme and the library in your layout or specific view.
```html

```

Or you can use NPM to install the Jodit Editor directly in your project:
```bash
npm install jodit
```

Import it in your app.js like:
```javascript
// Jodit Editor
import 'jodit/esm/plugins/resizer/resizer'; // Resizer plugin is used when inserting images
import 'jodit/esm/plugins/video/video'; // Video plugin is used to insert videos
// Feel free to add extra plugins here...
import { Jodit } from 'jodit';
window.Jodit = Jodit;
```

And in your app.scss like:
```scss
// Jodit Editor
@import 'jodit/es2021/jodit';
```

For additional information, kindly refer to the [Jodit Editor documentation](https://xdsoft.net/jodit/docs/).

## 🎬 Showcase
Now you can use the text editor component as you like.
```html

```

Or add the "buttons" attribute to define buttons dynamically.
```html

```

## 🎨 Tailor UI
The text editor component is entirely customizable. Just publish the view file and make it your own.
```bash
php artisan vendor:publish --tag=livewire-jodit-text-editor-views
```

## 🔄 Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## 🤝 Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

## ❤️ Support Me

Is this plugin helpful to you? Let me know by connecting on LinkedIn or on X.