-
Notifications
You must be signed in to change notification settings - Fork 54
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
If we put image-related blocks in and save them, they lose their link with the part template. #448
Comments
I believe what is happening in this scenario is this:
Therefore the solution to this scenario is to EITHER:
I don't believe that this is a failing of Create Block Theme. NOTE: It might also be seen as a solution to include the 'theme' attribute on the Template Part block that is in the generated pattern. Indeed this WOULD make the content render. HOWEVER (as the linked issue details) this is NOT a valid solution if the theme is expected to be used in any environment other than where it was created. The 'theme' attribute MUST match the folder structure the theme is located in and this is not a guaranteed location. |
Thank you!! Do you want to leave this issue open until the main unit is fixed? Or is it better to close at this timing? |
I believe we should close this as it isn't actually a problem with CBT. Thank you for confirming. |
Description
Moves images to the assets folder when a block about images is included.
Also. Save a file called index.php in the part directory.
The link seems to be lost at this point.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
video.mp4
Environment info
The text was updated successfully, but these errors were encountered: