This Nova Package allow you to use Nova field with Thaana Keyboard on a Text Area
composer require aiman/thaana-text-area-field
In your Nova resource add the use declaration and use the NovaTinyMCE field:
use Aiman\ThaanaTextAreaField\ThaanaTextAreaField;
/**
* Get the fields displayed by the resource.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function fields(Request $request)
{
return [
ID::make()->sortable(),
ThaanaTextAreaField::make('Content'),
];
}
You can turn thaana translation. by default it is true
.
ThaanaTextAreaField::make('Content', 'content')->thaana()
You can turn thaana keyboard type. by default it is phonetic
.
ThaanaTextAreaField::make('Content', 'content')->type()
install this Thaana Latin Field in order for the function to work ThaanaTextAreaField supports auto latin convertion
ThaanaTextAreaField::make('Content', 'content')->convertToLatin('latin_content'),
ThaanaLatinField::make('Latin Content', 'latin_content'),
This package is tested for nova 2.0+ Latest tested on nova v3.6.0
Huge Credit goes for @Jawish Hameed for his thaana translation plugin Thaana Keyboard