الصفحات · Laravilt
RichEditor
WYSIWYG HTML editor built on Tiptap.
A WYSIWYG HTML editor built on Tiptap.
Basic usage
php
Toolbar and size
php
Attachments
php
API reference
| Method | Description |
|---|---|
toolbarButtons(array) | Visible toolbar buttons |
minHeight(?int) / maxHeight(?int) | Editor height |
json(bool) | Store Tiptap JSON instead of HTML |
textColors(array) / customTextColors(array) | Text color palette |
floatingToolbars(array) | Context toolbars |
fileAttachmentsDisk() / fileAttachmentsDirectory() / fileAttachmentsVisibility() | Attachment storage |
fileAttachmentsAcceptedFileTypes() / fileAttachmentsMaxSize() | Attachment limits |
customBlocks(array) / mergeTags(array) | Custom content |
showCharacterCount(bool) / showWordCount(bool) | Counters |