Refine Page Linking workflow

This commit is contained in:
2026-02-09 09:23:04 +01:00
parent a5c44e106e
commit 4dae370deb
9 changed files with 91 additions and 220 deletions

View File

@@ -36,13 +36,10 @@ trait PageLinkTrait
*/
protected function renderPageNotLinked(\Doku_Renderer $renderer): void
{
$uuid = $this->getPageUuidSafe();
$text = (string)$this->getLang('pagelink_unlinked');
if ($renderer instanceof \Doku_Renderer_xhtml) {
$renderer->doc .= '<a href="#" class="luxtools-pagelink-copy" data-luxtools-pagelink-copy="1"'
. ' data-uuid="' . hsc($uuid) . '"'
. '>' . hsc($text) . '</a>';
$renderer->doc .= '<span class="luxtools-pagelink-status">' . hsc($text) . '</span>';
return;
}