grapesjs
grapesjs copied to clipboard
Uncaught SyntaxError: Unexpected end of input
blockManager.add('design', { label: 'design', content: { script: function () { $.ajax({ url: parent.DrupalBasePath + '/api/v1/rnode_operations', method: 'POST', dataType: 'json' }).done(function( data ) { Example.show('Custom button clicked'); console.log( data ) }); var dialog = parent.bootbox.dialog({ title: 'Flyiers', message: '
Fliers
', buttons: { noclose: { label: 'Load More', className: 'btn-info', callback: function(){ Example.show('Custom button clicked'); return false; } } } }); }, style: { width: '100px', height: '100px', 'background-color': 'red', } }, attributes: {class: 'gjs-fonts gjs-f-image gjs-block gjs-one-bg gjs-four-color-h'}, });
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.