orchidcommunity / monacoeditor
Monaco Editor Package for Orchid Platform
0.0.1
2018-03-12 21:45 UTC
Requires
- php: >=7.0
This package is auto-updated.
Last update: 2024-12-19 02:43:34 UTC
README
Monaco Editor - code editor for Orchid Platform
- Add string to config/platform.php
'fields' => [
...
'monacoeditor' => Orchids\MonacoEditor\Fields\Types\MonacoEditorField::class,
- Execute the following command
php artisan vendor:publish --provider="Orchids\MonacoEditor\Providers\MonacoEditorServiceProvider"
3.Add field in project
Field::tag('monacoeditor')
->name('code')
->title('Code Block')
->help('Simple web editor')
->language('javascript'),