Stackable icon indicating copy to clipboard operation
Stackable copied to clipboard

[WPML] When editing page in translated language, it shows Block Errors for Image block

Open andeng1106 opened this issue 3 years ago • 0 comments

Describe the bug When I translated a page with Image block and I edit the translated page, it shows block errors (Attempt Block Recovery) and also errors in console.

Note: This issue requires WPML plugins.

To Reproduce Steps to reproduce the behavior:

  1. Add a new page
  2. Add any blocks with Image (e.g. Image, Image Block, Team Member, etc.)
  3. Publish page and translate to any language you want (Page > Language > Translate this Document in editor)
  4. Complete and publish translation
  5. Wait for the translation to load
  6. When the refresh icon turns to pencil, you can now view page (Page > Language > Translate this Document in editor) image
  7. In the View page, change the language to the translated language
  8. Click the Edit in the toolbar above View Page image
  9. Click "Edit anyway" image
  10. Check backend editor if there are block errors
  11. Check console if there are any errors

Expected behavior It should not show block errors when editing the translate page.

Screenshots

https://user-images.githubusercontent.com/103395655/171075207-8c62eccc-0f7b-4091-b338-d9b9d77ad46a.mp4

andeng1106 avatar May 31 '22 01:05 andeng1106