rajatkumcom

Results comments of rajatkumcom

Getting this error ( SyntaxError: Unexpected token < in JSON at position 0 ) when trying to use:- storageManager: { type: 'remote', autosave: false, setStepsBeforeSave: 1, contentTypeJson: true, params: {},...

When I am trying to save, then I got that error. Loading is perfect.

This is my code:- var editor = grapesjs.init({ height: '100%', clearOnRender: true, assetManager: { upload: 'http://localhost/grapesjs/fileUpload.php', storeOnChange : true, storeAfterUpload : true, assets : [ { type: 'image', src :...

I have done changes in grapes.js file which is not recommended var typeJson = this.get('contentTypeJson'); var typeJson = false; Resolved issue.

It generate this output in console:- Loaded {0: "{", 1: """, 2: "g", 3: "j", 4: "s", 5: "-", 6: "h", 7: "t", 8: "m", 9: "l", 10: """, 11:...

In my case I want both local and remote storage at the same time. The data will be stored locally in localstorage( If he/she will refresh the page without saving...

Could someone please help with following:- like we have - getHtml(), getCss(), getStyle(), getComponents(). what we have for assets.