From 181ec2cfceb45173a618b76332f265e562d52961 Mon Sep 17 00:00:00 2001 From: Philipp Dieter Date: Thu, 21 Nov 2019 23:28:42 +0100 Subject: [PATCH] [FEATURE] Add gpvar to lib --- Resources/Private/TypoScript/Setup/lib.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Resources/Private/TypoScript/Setup/lib.ts b/Resources/Private/TypoScript/Setup/lib.ts index 482edd6..02e2bb3 100644 --- a/Resources/Private/TypoScript/Setup/lib.ts +++ b/Resources/Private/TypoScript/Setup/lib.ts @@ -12,3 +12,14 @@ lib.currentPid.data = TSFE:id lib.pidCurrent = TEXT lib.pidCurrent.data = TSFE:id + +lib.gpvar = COA +lib.gpvar { + stdWrap.htmlSpecialChars = 1 + 10 = TEXT + 10 { + dataWrap = GP:{current} + insertData = 1 + wrap3 = {|} + } +}