This commit is contained in:
2025-05-13 10:43:12 -07:00
parent eee3ab75d1
commit 4c54697245

View File

@@ -97,6 +97,29 @@ return [
"vc_roww" => function ($attr) {
$text = $attr["text"] ?? "";
return "<div class='row'>".$text."</div>";
}
},
"vc_column" => function ($attr) {
$text = $attr["text"] ?? "";
return "<div class='col'>".$text."</div>";
},
"vc_column_text" => function ($attr) {
$text = $attr["text"] ?? "";
return "<div>".$text."</div>";
},
"vc_single_image" => function ($attr) {
$imageID = $attr["image"] ?? "";
return "<div>".$imageID."</div>";
},
"vc_empty_space" => function () {
return "";
},
"vc_raw_html" => function ($attr) {
$text = $attr["text"] ?? "";
$raw = "";
if (strlen($text) > 0) {
$raw = base64_decode($text);
}
return $raw;
},
]
];