• Resolved pmascis

    (@pmascis)


    Hi,

    Love the plugin but I am hoping you can assist with an issue I am having when adding the ACF tables to a block in Gutenberg.
    When I register the block in preview mode, everything works okay, and I can add the table data over in the right hand sidebar.
    Works

    However, when I register the block in edit mode, I can’t enter data into the pop up blue text box.
    Doesn’t work

    Edit mode would be more preferable most of the time as it’s easier to use due to not being constrained by the fixed thin width of the sidebar.

    Thanks in advance!

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

    (@jonua)

    Howdy,

    thanks much for reporting that issue. I think, I’ll have that fixed in a couple of days.

    Cheers,
    Johann

    Plugin Author Johann Heyne

    (@jonua)

    Hi,

    I could not replicate that issue.

    1. I registered a block in edit mode and assigned a table field to the block.
    2. Then I added this block to a page and the table field input appears and the blue text box worked.
    3. Then I switched the block to preview and the blue text box in the sidebar worked also.

    What I`m missing?
    Your second image shows what? Is this the small sidebar?

    Cheers,
    Johann

    Thread Starter pmascis

    (@pmascis)

    Hi Johann,

    Thanks for investigating so promptly.
    My second image (Doesn’t work) was in the main Gutenberg editor (the block was just quite thin).
    I’ll investigate further on my end and with a fresh WP install and get back to you soon, I hope I haven’t wasted your time.

    Thanks again!

    Hey! I had this same issue and it had to do with an override my CSS was doing in regards to the font-size and line-height. Adding this bit in got it working:

    .editor-styles-wrapper .acf-table-cell-editor textarea {
         font-size: 14px;
         line-height: 1.4;
    }

    Hope that helps! ??

    – Amy

    Plugin Author Johann Heyne

    (@jonua)

    Hi Amy,

    thanks for pointing out the possible cause of the problem. With the next release I will add “!important” to the font-size and line-spacing of the blue text box.

    I hope that this will prevent the problem from occurring again.

    Cheers,
    Johann

    Thread Starter pmascis

    (@pmascis)

    Sorry, for some reason I thought the data wasn’t even saving but turns out it was indeed just a css issue.

    Way to go, Amy! Thank you!

    Thanks for the upcoming fix and ongoing support, Johann.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘ACF Block – Registering Block as Edit Mode Not Working – Can’t enter data’ is closed to new replies.