mr-vaco/nova-trumbowyg-field

Trumbowyg WYSIWYG editor

Installs: 4 629

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

Language:JavaScript

pkg:composer/mr-vaco/nova-trumbowyg-field

1.0.1 2025-02-14 13:37 UTC

README

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

Install

composer require mr-vaco/nova-trumbowyg-field

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

ar - Arabic es - Spanish it - Italian pt - Portuguese th - Thai
az - Azerbaijani es_ar - Spanish (Argentina) ja - Japanese pt_br - Portuguese Brazilian tr - Turkish
bg - Bulgarian et - Estonian ko - Korean ro - Romanian ua - Ukrainian
bn - Bangla fa - Persian lt - Lithuanian rs - Serbian (Cyrlic) vi - Vietnamese
by - Belarusian fi - Finnish mn - Mongolian rs_latin - Serbian (Latin) zh_cn - Simplified Chinese
ca - Catalan fr - French my - Malaysian ru - Russian zh_tw - Traditional Chinese
cs - Czech he - Hebrew nb - Norwegian Bokmål sk - Slovak
da - Danish hr - Croatian nl - Dutch sl - Slovenian
de - German hu - Hungarian ph - Filipino sq - Albanian
el - Greek id - Indonesian pl - Polish sv - Swedish

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