Skip to content

Kirby 3.6.6

$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

Deprecated in 3.6.0
Use ->panel()->dragText() instead
$page->dragText(string $type = null): string

Parameters

Name Type Default Description
$type string null (null|auto|kirbytext|markdown)

Return type

string

Parent class

Kirby\Cms\Page