$page->dragText()
Provides a kirbytag or markdown tag for the page, which will be used in the panel, when the page gets dragged onto a textarea
$page->dragText(string|null $type = null): string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$type | string ornull |
null
|
(auto |kirbytext |markdown ) |
Return type
string
This method modifies the existing $page
object it is applied to and returns it again.