Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Add list item component

givanz8560003bfa7d
diff --git a/public/js/vvvebjs/components-html.js b/public/js/vvvebjs/components-html.js
index 8cd8c5f..9f7b6ea 100755
--- a/public/js/vvvebjs/components-html.js
+++ b/public/js/vvvebjs/components-html.js
@@ -921,6 +921,13 @@ Vvveb.Components.extend("_base", "html/blockquote", {
}]
});
+Vvveb.Components.extend("_base", "html/list-item", {
+ nodes: ["li"],
+ name: "List item",
+ image: "icons/list.svg",
+ html: `<li>List item</li>`
+});
+
Vvveb.Components.extend("_base", "html/list", {
nodes: ["ul", "ol"],
name: "List",