diff --git a/system/author/js/vue-blox.js b/system/author/js/vue-blox.js
index 228e2a0..766a9e7 100644
--- a/system/author/js/vue-blox.js
+++ b/system/author/js/vue-blox.js
@@ -794,7 +794,7 @@ const shortcodeComponent = Vue.component('shortcode-component', {
'
' +
'' +
'
' +
- '
' +
+ '
' +
'
' +
'' +
'' +
@@ -857,14 +857,18 @@ const shortcodeComponent = Vue.component('shortcode-component', {
}
}
},
- createmarkdown: function(shortcodename,attribute)
+ createmarkdown: function(shortcodename,attribute = false)
{
+
var attributes = '';
- for (var attribute in this.shortcodedata[shortcodename])
+ if(attribute)
{
- if(this.shortcodedata[shortcodename].hasOwnProperty(attribute))
+ for (var attribute in this.shortcodedata[shortcodename])
{
- attributes += ' ' + attribute + '="' + this.shortcodedata[shortcodename][attribute].value + '"';
+ if(this.shortcodedata[shortcodename].hasOwnProperty(attribute))
+ {
+ attributes += ' ' + attribute + '="' + this.shortcodedata[shortcodename][attribute].value + '"';
+ }
}
}