GrapesJS Issues

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

3464 issues found

#3396April 9, 2021by YumiChenNo answers
0 reactions

BUG: flex-direction: column & float: left make sorter direction incorrect

Version:0.16.45 Are you able to reproduce the bug from the demo?[x] Yes[ ] No What is the expected behavior? Given a parent element with display: flex and flex-direction: column styles, with the child elements having float: left styles, the sorter should be horizontal, for in the result the elements are aligned vertic...

#3395April 9, 2021by Abhisheknanda13444631 answer
1 reactions

Observation -: Inconsistent Mobile view

Hi @artf Please have a look to the attached video. I've checked the mobile view and observed that mobile view is different as compared to editor-mobile view. Any thoughts on this? or It's supposed to be work like this way Screen Recording 2021-04-09 at 2.55.45 PM.zip

Abhisheknanda1344463

It's fixed. Closing the issue.

#3394April 8, 2021by alext27932 answers
1 reactions

UndoManager add

how to add undo/redo event to UndoManager from custom rich text editor ckeditor?

Ju99ernaut

UndoManger usually tracks changes to component models, so if you can record the changes from the rte in the component in some way it could work. I'm not completely sure how this would work so I can't give a more in depth description. Anywa...

artf

Yeah, as already mentioned by @Ju99ernaut all major RTE editors implement their own undo manager. Indeed, when the RTE is enabled (built-in or a custom one) all shortcuts are disabled, in order not to mess with text editing (when you edit...

#3392April 7, 2021by rywilson282 answers
0 reactions

FEAT: Allow dynamic droppable configuration using a function

I have a requirement where I cannot use selectors to determine if an element is droppable. For example: The "child" component must be within a "parent" component, however if the child component contains a ref attribute it can only be dragged into other parent containers that match the same ref value as the current par...

rywilson28

Associated PR: https://github.com/artf/grapesjs/pull/3393

rywilson28

@artf do have any questions regarding this feature or the approach taken in the PR?

#3389April 6, 2021by xinnai3 answers
0 reactions

MultiSelect some elements and change styles only work on the last selected element

Hi, when I MultiSelect some elements using shift, and change style in styleManager. Only the last clicked element will update the style. Can you help how to fix that problem? https://user-images.githubusercontent.com/23135336/113699004-9d075200-9707-11eb-893c-9b3734e2d0b3.mov

Ju99ernaut

Not sure if there's an option for that, probably multiple component editing isn't implemented for the style manager. You could use classes as an alternative solution.

artf

It actually works in the demo, are you able to create a reproducible demo?

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

#3388April 5, 2021by ahmedderkaoui1 answer
1 reactions

FEAT: adding indication as a Trait without any input.

I want to add an indication for a trait. For my component, I have the traits: and for the type 'dateformat-indication', I created the type: However, I get an input within this type that I created even if it wasn't on its template: Is there a way to disable default input of the trait?

ahmedderkaoui

Using the method below works fine:

#3387April 5, 2021by assadnazar3 answers
0 reactions

FEAT: Load through URL

Can we add an option to load through URL? e.g. we pass a URL to the init and there it initializes the page with editor?

Ju99ernaut

Pretty hard to come up with a universal solution due to CORS restrictions.

artf

Pretty hard to come up with a universal solution due to CORS restrictions. Correct, if your intention is to load HTML of some external site, you should have a server to fetch the content.

assadnazar

@Ju99ernaut, @artf I want to load same domains' pages to edit html for.

#3385April 3, 2021by pranay22101 answer
0 reactions

How to use grapesjs with nuxtjs ?

I'm trying to wrap up grapesjs with nuxtjs framework any solutions to this?

artf

I think it's just about creating a Vue component for GrapesJS and use it in some of your pages