mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-24 01:58:00 +08:00
Update 10-rich-editor.md
This commit is contained in:
@@ -67,3 +67,14 @@ RichEditor::make('content')
|
||||
->fileAttachmentsDirectory('attachments')
|
||||
->fileAttachmentsVisibility('private')
|
||||
```
|
||||
|
||||
## Disabling Grammarly checks
|
||||
|
||||
If the user has Grammarly installed and you would like to it from analyzing the contents of the editor, you can use the `disableGrammarly()` method:
|
||||
|
||||
```php
|
||||
use Filament\Forms\Components\RichEditor;
|
||||
|
||||
RichEditor::make('content')
|
||||
->disableGrammarly()
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user