Edit Custom Component #4402
Unanswered
MuhammadIsmail-Dev
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi @MuhammadIsmail-Dev, it would be easier to understand what is happening by providing a reproducible demo (you can replace the ajax call with a static HTML string) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Great People!
I am facing a hurdle while working on your awesome framework (GrapesJs).
I have defined a custom component.
Purpose:
take values from traits and initiates Ajax call then render data according to the Ajax response.
so above mentioned examples is working fine the PROBLEM is to edit that rendered html in editor.
Issue:
see the layers in below image. I'll explain it.
so red box in above image is my custom component. blue box is the html that I bring here from server as I mentioned in example 1.1
Now what I want is to edit that blue box items in canvas like customising the text, css changes etc.
I can select the ws-if(red box) in canvas but I can't edit the inner html(blue box) .
although I can select the inner html in layers but can't select them by my cursor, on the canvas.
Visual Examle:
I tried my best to explain this problem simply.
I'll appreciate if someone helps me to overcome this challenge as I am stuck from few days.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions