Last active
July 27, 2019 11:08
-
-
Save mojtabaahn/0240abf0a0ba85e71ca7cb0b27f74e7e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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