Skip to content

Instantly share code, notes, and snippets.

@mojtabaahn
Last active July 27, 2019 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mojtabaahn/0240abf0a0ba85e71ca7cb0b27f74e7e to your computer and use it in GitHub Desktop.
Save mojtabaahn/0240abf0a0ba85e71ca7cb0b27f74e7e to your computer and use it in GitHub Desktop.
<?php
namespace App\Orchid\Layouts\Course;
use App\Services\Screen\Fields\TinyMCE;
use Orchid\Screen\Field;
use Orchid\Screen\Layouts\Rows;
class CourseEditContentLayout extends Rows
{
/**
* Views.
*
* @return Field[]
*/
public function fields(): array
{
return [
//Editor::make('course.body'),
TinyMCE::make('course.body')
->title(__('Content'))
->required()
->height('450px')
->theme('modern')
];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment