$file->dragText()
Provides a kirbytag or markdown tag for the file, which will be used in the panel, when the file gets dragged onto a textarea
$file->dragText(string $type = null, bool $absolute = false): string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$type | string |
null |
(null|auto|kirbytext|markdown) |
$absolute | bool |
false |
Return type
string