Skip to content

Charl13/nova-ckeditor4-field

 
 

Repository files navigation

Laravel Nova CKEditor 4 Field (Translatable)

This package is a fork from waynestate/nova-ckeditor4-field extended with translation functionalities for dimsav/laravel-translatable. The translation functionalities are inspired from yeswedev/nova-translatable.

Installation

You can install the package into a Laravel application that uses Nova via composer:

composer require Charl13/nova-ckeditor4-field

Usage

For documentation refer to the original package waynestate/nova-ckeditor4-field.

Additionally this field can be translated:

<?php

namespace App\Nova;

use Waynestate\Nova\CKEditor;

class Article extends Resource
{
    // ...

    public function fields(Request $request)
    {
        return [
            // ...

            CKEditor::make('Body', 'body')->locales([
                'en' => 'English',
                'de' => 'German',
            ]);

            // ...
        ];
    }
}

About

A Laravel Nova CKEditor4 WYSIWYG Field using vue-ckeditor2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 49.9%
  • Vue 45.6%
  • JavaScript 4.3%
  • CSS 0.2%