mr-vaco/nova-trumbowyg-field

Trumbowyg WYSIWYG editor

Installs: 994

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

1.0.0 2023-11-26 13:10 UTC

This package is auto-updated.

Last update: 2024-12-26 15:32:37 UTC


README

Laravel Nova Trumbowyg Field

RU readme

Trumbowyg (WYSIWYG editor) with localization!

This component adds the ability to use WYSIWYG fields instead of standard Textarea or Trix fields.

Component Base:

To switch localizations you can use Language Switch

How to use it in your component

Language is detected automatically - app()->getLocale()

use MrVaco\NovaTrumbowygField\NovaTrumbowygField;

public function fields(NovaRequest $request): array
{
    return [
        NovaTrumbowygField::make('Your field name', 'db column'),
    ];
}

List of available localizations

"en" - English - by default

I did not translate - all localization files were taken from Trumbowyg repository.

Each localization file indicates the author of the translation.

Light theme

Dark theme