GrapesJS Issues

Search parsed GitHub issues, see highlighted answers, and open the original discussion when needed.

1180 issues found

#1137May 27, 2018by shareefhiasat3 answers
2 reactions

Cant make Text Block not editable and style able at the same time !

Demo / reproduce problem https://jsfiddle.net/shareefhiasat/u8Lodyh7/1/ Question Not sure if its bug or i dont know how to get the desired behaviour Expected I need text element like, and be able to style it but NOT changing what content (text in it) Actual and What i have Tried I tried from wiki and docs some solutio...

shareefhiasat

@artf yes its working my friend , thanks a million here how it is now for future reference , fiddle you cant edit , but you can style https://jsfiddle.net/shareefhiasat/jdpkccz0/ You can close it, Regards

shareefhiasat

UPDATE for future reference , i updated jsfiddle with editable and none editable component example, note that the appearance and behavior of hovering over elements dose not work with its not editable

shareefhiasat

@julyanof @artf Please help may be it too simple to figure out my self

#1129May 24, 2018by JuanTincho1 answer
0 reactions

[BUG] Duplicated editImage button(Aviary) while cloning an image block

If grapesjs-aviary is enabled and cloning an image, the pencil button is duplicated. Before: After: I worked on a solution: https://github.com/artf/grapesjs/pull/1130

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.

#1128May 24, 2018by Abhisheknanda13444633 answers
0 reactions

Bug in dragging selected text

hi @artf as you can see my screenshot when you drag textblock than select text in that element and drag it to bottom of content than text get append to content without any tag and we are not able to edit that text.. can u please help me out.. @artf

artf

Don't drag the text from the component, create a new one or drag from blocks

Abhisheknanda1344463

hi @artf Thanks for your reply.. i want to know if it is possible if i update style manager in mobile device then it'll not reflect in Desktop Mode...Please reply me asap i need your help. Thanks @artf

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.

#1121May 18, 2018by alimajed933 answers
0 reactions

[BUG] - <Tbody> inside <Table>

Hi @artf , I created a new component with tagName = 'table'. When selected and one option of its toolbar I also created is clicked, a new modal opens, and when the user submits, some content should be added to the block. I am using editor.getSelected().get('components').add(HtmlCode), where HTML code always starts wit...

artf

I think this happens because when you add the HtmlCode is parsed by the browser, but outside of the table scope and therefore it strips your tags. Try to skip the parser by passing a component object:

no-response[bot]

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take ac...

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.

#1115May 15, 2018by Lethrir2 answers
1 reactions

[BUG] core:canvas-clear removes CSS Composer Styles

I am using the core:canvas-clear command assigned to a button but when this is pressed, the styles setup through the CSS Composer are also being removed. Grape Version: 0.14.15 Browser: Chrome 66.0.3359.139 (Official Build) (64-bit) I have setup a script to recreate this at https://jsfiddle.net/pzacf7zg/ Reproduction...

artf

Hi @Lethrir as you can see this is the command and the behavour is totally intended. This also shows you how ridiculously the command is, so you can create your own via Commands API I'd also suggest to create blocks with their own styles,...

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.

#1114May 15, 2018by Lethrir2 answers
0 reactions

[BUG] Custom HTML output not firing on reload

I am using the toHtml and isComponent properties for a custom component to allow for custom HTML output. This appears to be working when the element is first dropped on the canvas but when the page is refreshed the element is present but does not return the custom HTML. Grape Version: 0.14.15 Browser: Chrome 66.0.3359...

artf

You should put your custom components in a plugin and it will work

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.

#1110May 14, 2018by momu-smartcoach2 answers
0 reactions

debug with vscode --document is not defined

i debug the code with vscode ,follow the Course(https://medium.com/@drcallaway/debugging-es6-in-visual-studio-code-4444db797954),but Report errors var doc = document, win = window, ArrayProto = Array.prototype, slice = ArrayProto.slice, filter = ArrayProto.filter, push = ArrayProto.push; ^ ReferenceError: document is...

xr0master

debug a client code for browser on server side? Just use a browser development mode.

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.

#1108May 14, 2018by sai-kishore2 answers
0 reactions

grapesjs is not defined - Added with npm for a vue app. Is there anything I am missing here?

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...

FrciSmrci

Hey @sai-kishore , here you have an resolved issue discussing how to use grapesjs in an Vue project. Hope it helps. Have a great day.

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.

#1107May 14, 2018by sai-kishore1 answer
0 reactions

grapesjs is not defined

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.