Reference

Guide

$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 $type = null): string

Parameters

Name Type Default Description
$type string null

(null|auto|kirbytext|markdown)

Return type

string

Source code

kirby/src/Cms/Page.php#L413