From 4c546972457c33cfa4f7fabc7a3ef0f2d6991187 Mon Sep 17 00:00:00 2001 From: Kurtis Holsapple Date: Tue, 13 May 2025 10:43:12 -0700 Subject: [PATCH] WIP --- config.php | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/config.php b/config.php index 077a1ed..d0393a5 100644 --- a/config.php +++ b/config.php @@ -97,6 +97,29 @@ return [ "vc_roww" => function ($attr) { $text = $attr["text"] ?? ""; return "
".$text."
"; - } + }, + "vc_column" => function ($attr) { + $text = $attr["text"] ?? ""; + return "
".$text."
"; + }, + "vc_column_text" => function ($attr) { + $text = $attr["text"] ?? ""; + return "
".$text."
"; + }, + "vc_single_image" => function ($attr) { + $imageID = $attr["image"] ?? ""; + return "
".$imageID."
"; + }, + "vc_empty_space" => function () { + return ""; + }, + "vc_raw_html" => function ($attr) { + $text = $attr["text"] ?? ""; + $raw = ""; + if (strlen($text) > 0) { + $raw = base64_decode($text); + } + return $raw; + }, ] ];