francescobruno-cmv/tiny-editor

A TinyMCE Livewire component

Maintainers

Package info

github.com/FrancescoBruno-cmv/tiny-editor

pkg:composer/francescobruno-cmv/tiny-editor

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.0.6 2026-04-20 12:29 UTC

This package is auto-updated.

Last update: 2026-04-20 12:31:02 UTC


README

Latest Version on Packagist Total Downloads License

Un Rich Text Editor basato su TinyMCE, completamente compatibile con Livewire 3 e 4.

โœจ Features

  • โœ… Integrazione semplice con Livewire
  • ๐ŸŽฏ Compatibile con Livewire 3 e 4
  • ๐Ÿ“ Editor basato su TinyMCE
  • ๐Ÿ”„ Aggiornamento reattivo tramite eventi
  • โšก Facile da integrare in qualsiasi form

๐Ÿ“ฆ Installazione

Installa il pacchetto tramite Composer:

composer require francescobruno-cmv/tiny-editor

โš™๏ธ Requisiti

  • PHP >= 8.1
  • Laravel >= 10
  • Livewire 3 o 4
  • API Key TinyMCE

๐Ÿš€ Utilizzo

Componente Livewire

<?php

use Livewire\Component;

new class extends Component
{
    public $body;

    protected $listeners = ['editorUpdated' => 'setBody'];

    public function setBody($content)
    {
        $this->body = $content;
    }

    public function create()
    {
        dd($this->body);
    }
};
<div>
    <livewire:tiny-editor api-key="tua-tiny-mce-key" />

    <x-button wire:click="create">
        Salva
    </x-button>
</div>

Configurazione

Inserisci la tua API Key di TinyMCE:

<livewire:tiny-editor api-key="tua-tiny-mce-key" />

๐Ÿ‘‰ Puoi ottenere una API key gratuita su: TinyMCE

๐Ÿค Contributi

Le contribuzioni sono benvenute!

  1. Fai fork del progetto
  2. Crea un branch (feature/nome-feature)
  3. Commit delle modifiche
  4. Push sul branch
  5. Apri una Pull Request

๐Ÿ“„ Licenza

Questo pacchetto รจ distribuito sotto licenza MIT.
Vedi il file LICENSE.md per maggiori dettagli.

๐Ÿ‘ค Autore

Francesco Bruno

โญ Supporto

Se il pacchetto ti รจ utile, lascia una โญ su GitHub!