Skip to content

Kirby 6.0.1

$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 stringornull null (auto|kirbytext|markdown)

Return type

string

Parent class

Kirby\Panel\Page