#895February 23, 2018by alvim2 answers
I'm using GrapesJS v0.14.5 in a local copy. OS: Ubuntu 16.04 LTS Browser: Chrome Version 64.0.3282.140 (Official Build) (64-bit) I think I can't reproduce it from the demo I have a component with the current script: (The "comp" variable part is from a plugin functionality I'm currently developing, but I think you can...
artf
gjs-html contains the final HTML, the HTML your users will gonna see so it's correct that you see the script "compiled". For a correct editing, you have to rely on gjs-components which is basically a JSON representation of the template and...
lock[bot]
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.
#887February 20, 2018by pwof422 answers
Hi, I can't get running grapesjs. Here my logs :# npm start> [email protected] start /var/www/web/server/grapesjs> npm run build:css -- -w & webpack-dev-server --open --progress --colors> [email protected] build:css /var/www/web/server/grapesjs> node-sass src/styles/scss/main.scss dist/css/grapes.min.css --output-style co...
lock[bot]
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.
#879February 16, 2018by rajatkumcom3 answers
WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/blob/master/CONTRIBUTING.mdUse the GitHub Issues EXCLUSIVELY for BUGS, FEATURE REQUESTS or QUESTIONS. Prefix the title of the issue with its context, eg. [Bug]: ....Do a quick...
rajatkumcom
I have done changes in grapes.js file which is not recommended var typeJson = this.get('contentTypeJson'); var typeJson = false; Resolved issue.
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: {}, storeComponents: true, storeStyl...
v8jupiter
Can you give more details?Your have this error when trying to load template from 'http://localhost/grapesjs/fileLoad.php'?Or you have error in init moment. Can you show full initialization of editor? I think your problem in this endpoint h...
#871February 15, 2018by chthomos3 answers
Hello, I have noticed the following buggy behaviour on the style manager:Using a local copy of GrapesJS (ver 0.14.5) . Tested in Chrome and Firefox both in Win10 and OSXGrapesJS is initialized and components are loaded through the loadComponents. (for example here's the JSON I used in the demo, where I load an image c...
artf
Hi @chthomos and thanks for the issue, but are you able to provide a live demo of this bug (eg. via jsfiddel)? I've just tried this on the public demo and it worked as expected
chthomos
Sorry for the late reply. I am working on a fiddle for this so you can replicate.
artf
@chthomos good, I close this then for now and reopen when the fiddle is available
#868February 14, 2018by nojacko3 answers
Taken from https://github.com/artf/grapesjs/wiki/API-Editorcomponent:add - Triggered when a new component is added to the editor, the model is passed as an argument to the callback My understanding is that the component:add should only be called when the block is dragged in from the blocks panel and dropped into the e...
artf
@japo32 all available public events are documented here: https://grapesjs.com/docs/api/editor.html#available-events
seifelhoseiny
Any update on this issue? It still calls component:add event when I simply move a component around.
lv-alex
It works. Thank you @artf
#863February 13, 2018by nojacko3 answers
As title + background-image is removed by styles manager when added a background layer.Getting started: https://jsfiddle.net/5upe6myo/Note background-imageClick between the text. Should show as "Box".Under Styles > Decorations, the background-image isn't shown.Clicking "+" next to background removes the background-ima...
nojacko
The styles I've defined for my element aren't reachable in the style manager. When I click the box in the canvas I'd really expect to see all the styles it has in the style manager, rather than the the styles of the class Grapes has added....
artf
Actually, this is how style manager works with classes. When you select the "Box" you can see that you have picked ".fluid-container.c318" selector, which doesn't have any bg, but when you uncheck "fluid-container" class, the current selec...
nojacko
This seems a little weird. Grapes adding the class c318 makes my styles unreachable. I'd expect the html and styles provided to be editable.
#844February 7, 2018by YeungLong1 answer
WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/blob/master/CONTRIBUTING.mdUse the GitHub Issues EXCLUSIVELY for BUGS, FEATURE REQUESTS or QUESTIONS. Prefix the title of the issue with its context, eg. [Bug]: ....Do a quick...
lock[bot]
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.
#840February 5, 2018by austinbiggs3 answers
GrapeJs Version: 13.8 Local Copy JSFiddle: https://jsfiddle.net/austinbiggs/tgsykuq4/ This bug is a bit hard to explain, but should be pretty straight forward in recreating. I have menu links that are restricted to being draggable within the parent <nav>, however when dragging, a false drop placeholder appears at the...
artf
@AustinTBiggs I don't know if it's just this, but your links have data-gjs-draggable=".menu nav.menu" which instead should be something like data-gjs-draggable="nav.menu"
austinbiggs
@artf While I'm confused why that change is necessary (it's a valid selector), I made the change. Unfortunately, I'm still seeing the issue. I've updated my Fiddle to show this
artf
With .menu nav.menu you mean that you can drag only inside nested menus, maybe it supposed to be .menu, nav.menu? Here is my version and it works as expected https://jsfiddle.net/wsn33167/
#833February 4, 2018by rohanreddyg2 answers
I am trying to load an existing Ad content into GrapesJS editor. On dragging new custom components into editor with some script, editor is loading inside the root editor frame. Not sure what is causing this issue.
artf
@rohanreddyg can you create a live demo of your case, please
lock[bot]
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.
#832February 2, 2018by chiqui3d3 answers
Hello, When I add a column(row) and add a background color, this color is added to everything I had previously and also to the next ones you add. Is it really its functionality or is it a bug?
artf
@chiqui3d indeed I've updated the grid system which enables a more natural editing of rows/columns. BTW I still think the example of images is a nice showcase of the "power" of classes and not a "problem"
ryandeba
Hi @chiqui3d, I bet this is happening because the selected component has the same class as other components. Those images from the demo all have the class badge-avatar, so changing one effectively changes them all. I believe it is working...
chiqui3d
@artf Yes you're right, I didn't think of it that way, now I see the meaning.