JavaScript Question
var app = angular.module('CompanyProfile', []);
app.controller('CompanyProfileCtrl', function() {
function initializeEditor() {
var editor = grapesjs.init({
allowScripts: 1,
showOffsets: 1,
autorender: 0,
noticeOnUnload: 0,
container: "#gjs",
height: "700px",
fromElement: true,
clearOnRender: 0,
storageManager: {
autoload: 0
},
Is there a way to achieve this in the code snippet above? I only provided part of the code. Can you tell if it will work as intended?