@ -157,19 +157,22 @@ module.exports = {
//Configurations for Block Manager
//Configurations for Block Manager
blockManager : {
blockManager : {
'blocks' : [ {
blocks : [ {
id : 'b1' ,
id : 'b1' ,
label : '1 Block' ,
label : '1 Block' ,
category : 'Standard' ,
content : '<div class="blk-row"><div class="blk1"></div></div><style>' + blkStyle + '.blk1{width: 100%;padding: 10px;min-height: 75px;}</style>' ,
content : '<div class="blk-row"><div class="blk1"></div></div><style>' + blkStyle + '.blk1{width: 100%;padding: 10px;min-height: 75px;}</style>' ,
attributes : { class : 'gjs-fonts gjs-f-b1' }
attributes : { class : 'gjs-fonts gjs-f-b1' }
} , {
} , {
id : 'b2' ,
id : 'b2' ,
label : '2 Blocks' ,
label : '2 Blocks' ,
category : 'Standard' ,
content : '<div class="blk-row"><div class="blk2"></div><div class="blk2"></div></div><style>' + blkStyle + '.blk2{float: left;width: 50%;padding: 10px;min-height: 75px;}</style>' ,
content : '<div class="blk-row"><div class="blk2"></div><div class="blk2"></div></div><style>' + blkStyle + '.blk2{float: left;width: 50%;padding: 10px;min-height: 75px;}</style>' ,
attributes : { class : 'gjs-fonts gjs-f-b2' }
attributes : { class : 'gjs-fonts gjs-f-b2' }
} , {
} , {
id : 'b3' ,
id : 'b3' ,
label : '3 Blocks' ,
label : '3 Blocks' ,
category : 'Standard' ,
content : '<div class="blk-row"><div class="blk3"></div><div class="blk3"></div><div class="blk3"></div></div><style>' + blkStyle + '.blk3{float: left;width: 33.3333%;padding: 10px;min-height: 75px;}</style>' ,
content : '<div class="blk-row"><div class="blk3"></div><div class="blk3"></div><div class="blk3"></div></div><style>' + blkStyle + '.blk3{float: left;width: 33.3333%;padding: 10px;min-height: 75px;}</style>' ,
attributes : { class : 'gjs-fonts gjs-f-b3' }
attributes : { class : 'gjs-fonts gjs-f-b3' }
} , {
} , {
@ -180,6 +183,7 @@ module.exports = {
} , {
} , {
id : 'hero' ,
id : 'hero' ,
label : 'Hero section' ,
label : 'Hero section' ,
category : 'Extra' ,
content : '<header class="header-banner"> <div class="container-width">' +
content : '<header class="header-banner"> <div class="container-width">' +
'<div class="logo-container"><div class="logo">GrapesJS</div></div>' +
'<div class="logo-container"><div class="logo">GrapesJS</div></div>' +
'<nav class="navbar">' +
'<nav class="navbar">' +
@ -191,11 +195,13 @@ module.exports = {
} , {
} , {
id : 'h1p' ,
id : 'h1p' ,
label : 'Text section' ,
label : 'Text section' ,
category : 'Extra' ,
content : '<h1 class="heading">Insert title here</h1><p class="paragraph">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua</p>' ,
content : '<h1 class="heading">Insert title here</h1><p class="paragraph">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua</p>' ,
attributes : { class : 'gjs-fonts gjs-f-h1p' }
attributes : { class : 'gjs-fonts gjs-f-h1p' }
} , {
} , {
id : '3ba' ,
id : '3ba' ,
label : 'Badges' ,
label : 'Badges' ,
category : 'Extra' ,
content : '<div class="badges">' +
content : '<div class="badges">' +
'<div class="badge">' +
'<div class="badge">' +
'<div class="badge-header"></div>' +
'<div class="badge-header"></div>' +
@ -236,6 +242,7 @@ module.exports = {
} , {
} , {
id : 'image' ,
id : 'image' ,
label : 'Image' ,
label : 'Image' ,
category : 'Media' ,
attributes : { class : 'gjs-fonts gjs-f-image' } ,
attributes : { class : 'gjs-fonts gjs-f-image' } ,
content : {
content : {
style : { color : 'black' } ,
style : { color : 'black' } ,
@ -250,6 +257,7 @@ module.exports = {
} , {
} , {
id : 'link' ,
id : 'link' ,
label : 'Link' ,
label : 'Link' ,
category : 'Basic' ,
attributes : { class : 'fa fa-link' } ,
attributes : { class : 'fa fa-link' } ,
content : {
content : {
type : 'link' ,
type : 'link' ,
@ -259,6 +267,7 @@ module.exports = {
} , {
} , {
id : 'map' ,
id : 'map' ,
label : 'Map' ,
label : 'Map' ,
category : 'Extra' ,
attributes : { class : 'fa fa-map-o' } ,
attributes : { class : 'fa fa-map-o' } ,
content : {
content : {
type : 'map' ,
type : 'map' ,
@ -267,6 +276,7 @@ module.exports = {
} , {
} , {
id : 'video' ,
id : 'video' ,
label : 'Video' ,
label : 'Video' ,
category : 'Media' ,
attributes : { class : 'fa fa-youtube-play' } ,
attributes : { class : 'fa fa-youtube-play' } ,
content : {
content : {
type : 'video' ,
type : 'video' ,