This component adds the ability to use WYSIWYG fields instead of standard Textarea or Trix fields.
Component Base:
- Trumbowyg WYSIWYG editor - the editor himself
- Vue.js component for Trumbowyg WYSIWYG editor - binding for use with Vue JS
To switch localizations you can use Language Switch
Language is detected automatically - app()->getLocale()
use MrVaco\NovaTrumbowygField\NovaTrumbowygField;
public function fields(NovaRequest $request): array
{
return [
NovaTrumbowygField::make('Your field name', 'db column'),
];
}
"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.