Giter VIP home page Giter VIP logo

Comments (15)

elliotcondon avatar elliotcondon commented on July 4, 2024

Hi @VeVas

Thanks for the bug report. I'll perform some testing and get back to you shortly

from acf.

elliotcondon avatar elliotcondon commented on July 4, 2024

I've just done some testing, but can't replicate the issue.
Can you please check your console log for any JS errors?

I did notice a different issue (much larger) which is no click event is working on ACF fields!
This is most likely due to some new JS added in Gutenberg to capture all click events and prevent the listeners.

I'll flag this with core if not already fixed.

from acf.

VeVas avatar VeVas commented on July 4, 2024

Hmm, ok. This is the console output:

ACF Pro 5.6.10 (Working):
skjermskot-2018-04-30-kl -08 46 17

ACF PRO 5.7.0-beta3 (Not working):
skjermskot-2018-04-30-kl -08 45 14

Let me know, and I can send you the log files :)

from acf.

elliotcondon avatar elliotcondon commented on July 4, 2024

Thanks for the reply.

Can you replicate this on a fresh WP setup without any other plugins / theme installed?
If so, please also export your field group to .json and attach to your reply. I'll import the same fields and test again.

from acf.

VeVas avatar VeVas commented on July 4, 2024

Same issues with fresh install. See json-code below. Tested both in local dev environment and live production server now.

[ { "key": "group_5ae6d348313c9", "title": "test_group", "fields": [ { "key": "field_5ae6d34f1241c", "label": "image", "name": "image", "type": "image", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "return_format": "array", "preview_size": "thumbnail", "library": "all", "min_width": "", "min_height": "", "min_size": "", "max_width": "", "max_height": "", "max_size": "", "mime_types": "" }, { "key": "field_5ae6d3571241d", "label": "file", "name": "file", "type": "file", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "return_format": "array", "library": "all", "min_size": "", "max_size": "", "mime_types": "" }, { "key": "field_5ae6d35f1241e", "label": "gallery", "name": "gallery", "type": "gallery", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "min": "", "max": "", "insert": "append", "library": "all", "min_width": "", "min_height": "", "min_size": "", "max_width": "", "max_height": "", "max_size": "", "mime_types": "" } ], "location": [ [ { "param": "post_type", "operator": "==", "value": "page" } ] ], "menu_order": 0, "position": "normal", "style": "default", "label_placement": "top", "instruction_placement": "label", "hide_on_screen": "", "active": 1, "description": "" } ]

from acf.

joshuafredrickson avatar joshuafredrickson commented on July 4, 2024

I'm seeing the same thing on a fresh install using 5.7.0-beta3. Media gallery modals don't open and also don't trigger any console warnings.

Works fine (but with hook name warnings) in 5.6.10.

from acf.

elliotcondon avatar elliotcondon commented on July 4, 2024

Hi guys,

Thanks for the updates. This appears to be fixed in the latest build (beta4) which will be released later this week!

from acf.

andremacola avatar andremacola commented on July 4, 2024

Some errors are fixed in beta4 but not all of them. See image below with some 404 .css problems.

captura de tela 2018-05-18 as 14 44 20

from acf.

elliotcondon avatar elliotcondon commented on July 4, 2024

Hi @andremacola

Thanks for the reply. The errors you have reported are coming from .css files outside of the ACF PRO plugin. Are you sure these issues are related to ACF PRO?

from acf.

andremacola avatar andremacola commented on July 4, 2024

@elliotcondon well, no errors when deactivating ACF PRO and another problem is occurring with me is field previously saved at sidebar location (5.6 field), when changing for after content, nothing happens (always using gutenberg). I need to duplicate the group. This happened to me twice.

from acf.

andremacola avatar andremacola commented on July 4, 2024

@elliotcondon I think this is something with Editor and Gallery Field

The Editor Field is blank at Gutenberg.

Do I need to create another issue ticket? For better organization.

captura de tela 2018-05-18 as 22 40 36

from acf.

elliotcondon avatar elliotcondon commented on July 4, 2024

Thanks @andremacola

I've just added this to my to-do list and will be sure to test this thoroughly over the next few weeks as we shift focus to Gutenberg testing.

from acf.

VeVas avatar VeVas commented on July 4, 2024

@elliotcondon Everything seems to be working fine with latest version of Gutenberg (2.9.2) and WordPress (4.9.6), when ACF 5.7.0 beta-4 version is installed.

@andremacola I experienced some errors when Gutenberg and WordPress was "out of sync", is the problem still there if you update both to the versions I mention above?

from acf.

andremacola avatar andremacola commented on July 4, 2024

@VeVas did you try all the ACF Fields? Especially the Editor and Gallery fields?

1
captura de tela 2018-05-22 as 19 24 26
captura de tela 2018-05-22 as 19 24 36

from acf.

VeVas avatar VeVas commented on July 4, 2024

@andremacola Yes, I checked all the fields using the media modal. But I just noticed that the editor is not working when I create a new page, only on existing pages. Seems to be related with a lot of treads in the Gutenberg issues regarding loading of TinyMCE-versions.

from acf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.