• Resolved zugrina

    (@zugrina)


    The table doesn’t show up in the Gutenberg inspector controls when I select it in the content area.

    After looking into it, I found that in in/js/input-v5.js on line 155, the line t.ui_event_ajax(); was commented out.

    When I removed the comments and ran that line, the table field appeared.

    I’m not sure why this line was commented out, so it might cause some side effects, but I wanted to share as much information as possible.

    Plugins I’m using:

    • ACF Pro: 6.3.6
    • WordPress: 6.6.1
    • Advanced Custom Fields: Table Field: 1.3.24

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Johann Heyne

    (@jonua)

    Hi,

    thanks for reporting me that issue.

    The t.ui_event_ajax(); was replaced by a mutation observer to detect new tables in different situations and locations. For some reason this doesn’t seem to work in your situation. Can you help me clarify the circumstances?

    I would like to ask:

    • Which browser and version are you using?
    • Does the problem also occur in another browser?
    • Which operating system and version are you using?
    • Can you provide me the acf_register_block_type() parameters for your use?
    • Are there JavaScript errors in the console and can you provide them if relevant?

    Thanks a lot,
    Johann

    Thread Starter zugrina

    (@zugrina)

    Hi Johann,

    Thank you for your quick reply!

    I did some more testing by isolating everything on a new installation, and the plugin worked perfectly, suggesting that the problem was on my end.

    I found the issue – the latest version of the Resizable Editor Sidebar plugin is not compatible with the Advanced Custom Fields: Table Field plugin, or vice versa.

    When I disabled the Resizable Editor Sidebar, the plugin worked fine. Ah, It is quite a handy plugin, especially when dealing with a ton of options in the sidebar. Any ideas on what we could do?

    Thank you!

    Plugin Author Johann Heyne

    (@jonua)

    Thanks for the research. Yes, there is an issue with the “Resizable Editor Sidebar” plugin script. The “Resizable Editor Sidebar” plugin script fires every 500 milliseconds a jQuery UI resizable() at the sidebar element causing a mutation event every 500 milliseconds. That prevents the mutation observer threshold of the table field plugin of 500 milliseconds. I will reduce the table field mutation threshold number to fix that issue in the next plugin version.

    Thanks,
    Johann

    Plugin Author Johann Heyne

    (@jonua)

    I have also sent a suggestion to the “Resizable Editor Sidebar” plugin development team on how to fix this unnecessary behavior of their script.

    Thread Starter zugrina

    (@zugrina)

    Thank you, Johann, for all your help! Keep up the great work!

    Plugin Author Johann Heyne

    (@jonua)

    The next plugin release v1.3.26 will be available by the end of the week. But you can download and test it now:
    https://downloads.www.ads-software.com/plugin/advanced-custom-fields-table-field.1.3.26.zip

    v1.3.26 should fix the missing table in the sidebar when using the Resizable Editor Sidebar plugin.

    Thanks for the motivation and feedback. It helps.

    Johann

    Thread Starter zugrina

    (@zugrina)

    Johann, I just tested it, and it works perfectly. Thanks a lot!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.