Skip to content

armgit / Vvveb

Public Imported from GitHub
0

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

Blockquote align options

givanz4c4190cd4472
diff --git a/public/js/vvvebjs/components-html.js b/public/js/vvvebjs/components-html.js
old mode 100755
new mode 100644
index 88030e0..a4dceec
--- a/public/js/vvvebjs/components-html.js
+++ b/public/js/vvvebjs/components-html.js
@@ -759,7 +759,7 @@ Vvveb.Components.extend("_base", "html/fileinput", {
Vvveb.Components.extend("_base", "html/video", {
nodes: ["video"],
name: "Video",
- html: '<video width="320" height="240" playsinline loop autoplay muted src="../../media/demo/sample.webm" poster="../../media/sample.webp"><video>',
+ html: '<video width="320" height="240" playsinline loop autoplay muted src="../../media/demo/sample.webm" poster="../../media/demo/sample.webp"><video>',
dragHtml: '<img width="320" height="240" src="' + Vvveb.baseUrl + 'icons/video.svg">',
image: "icons/video.svg",
resizable:true,//show select box resize handlers
@@ -934,6 +934,41 @@ Vvveb.Components.extend("_base", "html/blockquote", {
</cite>
</blockquote>`,
properties: [{
+ name: "Align",
+ key: "align",
+ htmlAttr: "class",
+ inline:false,
+ validValues: ["", "align-left", "align-center", "align-right"],
+ inputtype: RadioButtonInput,
+ data: {
+ extraclass:"btn-group-sm btn-group-fullwidth",
+ options: [{
+ value: "",
+ icon:"la la-times",
+ //text: "None",
+ title: "None",
+ checked:true,
+ }, {
+ value: "align-left",
+ //text: "Left",
+ title: "text-start",
+ icon:"la la-align-left",
+ checked:false,
+ }, {
+ value: "align-center",
+ //text: "Center",
+ title: "Center",
+ icon:"la la-align-center",
+ checked:false,
+ }, {
+ value: "align-right",
+ //text: "Right",
+ title: "Right",
+ icon:"la la-align-right",
+ checked:false,
+ }],
+ },
+ }, {
name: "Cite",
key: "cite",
inline:false,