Skip to content
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

live preview function error #10231

Closed
anhnhoktvn opened this issue Dec 29, 2024 · 1 comment · Fixed by #10310
Closed

live preview function error #10231

anhnhoktvn opened this issue Dec 29, 2024 · 1 comment · Fixed by #10310
Assignees
Labels
area: templates Templates directory

Comments

@anhnhoktvn
Copy link

anhnhoktvn commented Dec 29, 2024

Describe the Bug

can not use live preview function with media in website template
Image

Link to the code that reproduces this issue

https://github.com/hoasenkt07/bug-report-01

Reproduction Steps

clone and run npm run dev
go to admin
, edit Home page
, choose content
, add new media block
, choose an image
, turn on live preview

Which area(s) are affected? (Select all that apply)

Not sure

Environment Info

Binaries:
  Node: 20.17.0
  npm: 10.8.2
  Yarn: N/A
  pnpm: 9.15.1
Relevant Packages:
  payload: 3.12.0
  next: 15.1.3
  @payloadcms/db-postgres: 3.12.0
  @payloadcms/email-nodemailer: 3.12.0
  @payloadcms/graphql: 3.12.0
  @payloadcms/live-preview: 3.12.0
  @payloadcms/live-preview-react: 3.12.0
  @payloadcms/next/utilities: 3.12.0
  @payloadcms/payload-cloud: 3.12.0
  @payloadcms/plugin-form-builder: 3.12.0
  @payloadcms/plugin-nested-docs: 3.12.0
  @payloadcms/plugin-redirects: 3.12.0
  @payloadcms/plugin-search: 3.12.0
  @payloadcms/plugin-seo: 3.12.0
  @payloadcms/richtext-lexical: 3.12.0
  @payloadcms/translations: 3.12.0
  @payloadcms/ui/shared: 3.12.0
  react: 19.0.0
  react-dom: 19.0.0
Operating System:
  Platform: linux
  Arch: x64
  Version: #51-Ubuntu SMP PREEMPT_DYNAMIC Sat Nov  9 17:58:29 UTC 2024
  Available memory (MB): 31870
  Available CPU cores: 16
@anhnhoktvn anhnhoktvn added status: needs-triage Possible bug which hasn't been reproduced yet validate-reproduction labels Dec 29, 2024
@jacobsfletch jacobsfletch added the area: templates Templates directory label Dec 29, 2024
@github-actions github-actions bot removed the status: needs-triage Possible bug which hasn't been reproduced yet label Dec 30, 2024
@paulpopus
Copy link
Contributor

Thank you for your report, merging a fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: templates Templates directory
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants