-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #136 : Page preview problem fixes #146
Issue #136 : Page preview problem fixes #146
Conversation
@sudipto68 - We don't usuallly simply comment out lines. If we want to remove these, we'll need to actually remove them before this get's merged. However, this might be good enough to get some eyes on the PR to make sure the change makes senses and/or to get someone else to test it. @laryn - Does this look like a reasonable approach? @sudipto68 - See the coding standards notes below. We will also need to fix those. |
@stpaultim Thanks for your information. I have removed the commented code and the coding standards problem was on that commented code, so It will also be removed. |
@stpaultim @sudipto68 I think this code that is being removed was intended to help with the front end admin functionality -- rendering an insertion point if there are no paragraphs added in a paragraphs field. That said I'm not sure if we've tested that this is doing what it is supposed to on the front end (and I didn't see an issue about that in the queue, at least at a glance). If it's possible to have that functionality and to skip this bit of code if we're in preview mode, I think we'd have the best of both? With this change, have you tested both nested paragraphs as well as front end modal administration? |
I've tested commenting out that section. Still has problems though. I've got a node with a wrapper paragraph type that contains three "card" paragraph types. When I preview the node it only shows the first nested card paragraph. And then going back to edit and it still only shows the first card. Refreshing brings back the rest. |
I have just come across this issue, for a customer that wants to preview pages with paragraphs. Has there been any update since the comments above? |
@laryn that section doesn't seem to be doing much. It's getting |
Regarding the issue I have with some paragraphs not displaying is because of paragraphs embedded in paragraphs, I now suspect that it's not because of the |
Thanks @sudipto68 -- and sorry I couldn't give more explicit time and attention here. I'm closing this one in favor of #190 which was just merged. |
Fixes: #136
Page preview problem fixed.