Skip to content

Commit 3f34d49

Browse files
committed
remove tinymce from docs
1 parent 5c02140 commit 3f34d49

File tree

1 file changed

+2
-28
lines changed

1 file changed

+2
-28
lines changed

7.x-dev/crud-fields.md

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2579,35 +2579,9 @@ Input preview:
25792579
<hr>
25802580

25812581
<a name="tinymce"></a>
2582-
### tinymce <span class="badge badge-pill badge-info">PRO</span>
2582+
### tinymce
25832583

2584-
Show a wysiwyg (TinyMCE) to the user.
2585-
2586-
```php
2587-
CRUD::field([ // TinyMCE
2588-
'name' => 'description',
2589-
'label' => 'Description',
2590-
'type' => 'tinymce',
2591-
// optional overwrite of the configuration array
2592-
// 'options' => [
2593-
//'selector' => 'textarea.tinymce',
2594-
//'skin' => 'dick-light',
2595-
//'plugins' => 'image link media anchor'
2596-
// ],
2597-
]);
2598-
```
2599-
2600-
Input preview:
2601-
2602-
![CRUD Field - tinymce](https://backpackforlaravel.com/uploads/docs-4-2/fields/tinymce.png)
2603-
2604-
**NOTE**: if you want to modify the toolbar buttons (add or remove), here is the default configured toolbar so you can modify it:
2605-
2606-
```php
2607-
'options' => ['toolbar' => 'undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | outdent indent'],
2608-
```
2609-
2610-
Some buttons are related to specific plugins and need them to work, please read more about it here: [tiny mce available toolbar buttons](https://www.tiny.cloud/docs/advanced/available-toolbar-buttons/)
2584+
TinyMCE is now provided by a third-party package, you can find instructions on how to use and configure it [here](https://github.com/Laravel-Backpack/tinymce-field).
26112585

26122586
<hr>
26132587

0 commit comments

Comments
 (0)