• Resolved Shaun Killian

    (@websmall)


    Hi
    I have been using LW Accordion on different sites for a while and it has worked fine.
    Recently, when I add a new LWA block, it doesn’t let me add an answer. I can enter a question, but the answer field doesn’t let me click in it.
    The link above shows an LWA block on a test page, plus an image of what it looks like (and the issue) on the backend.
    Thanks
    Shaun

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author Andy Feliciotti

    (@someguy9)

    Hey @websmall, can you provide me what version of WordPress you’re using and if you’re using the Gutenberg plugin (separately). Seeing a couple of reports of this issue but can’t replicate it, if you click the answer field it should have a grey area allowing you to add a block inside.

    Screenshot of how I see it https://i.imgur.com/aeCcrkW.png (I’m also nesting the blocks just to see if that is what your issue was)

    Thread Starter Shaun Killian

    (@websmall)

    Hi Andy
    Thanks for your reply.
    My WP version is 6.0.1
    I have tried it on a new site on working on, and it works fine. This makes me think it may be a plugin conflict. I’ll check this issue out and then get back to you.
    Cheers
    Shaun

    Plugin Author Andy Feliciotti

    (@someguy9)

    @websmall If you list all your plugins I can take a look myself too!

    @someguy9

    Just reporting the same issue here on a few different sites.

    WP 6.0.1

    I’m using:
    – Generatepress pro,
    – Generateblocks (free and pro)
    – Gravity Forms
    – Gravity Perks
    – Ultimate Member
    – ACF Pro

    I can see in the Elements tab that this style is being applied when the page is rendered
    .block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender {
    display: none;
    }

    If i uncheck this style, the ‘choose a block’ prompt is shown and I can use the accordion block as expected.

    Thanks

    Plugin Author Andy Feliciotti

    (@someguy9)

    @liquidonthedrums extremely helpful! Will debug and push an update in the next couple of days ??

    Plugin Author Andy Feliciotti

    (@someguy9)

    @liquidonthedrums can you send the inner html of the block that show up in the editor, really odd the class .block-editor-default-block-appender never appears on my blocks on multiple sites and testing with your plugin list. (You can send with something like pastebin)

    Plugin Author Andy Feliciotti

    (@someguy9)

    @liquidonthedrums Thank you! this is so strange, also what browser are you using? I just have a really different output from my end.

    I’m using chrome.

    I’m having the same issue. The issue is with GenerateBlocks, and/or GeneratePress. (probably just GenerateBlocks)

    I run GeneratePress Pro, with GenerateBlocks Pro on WordPress 6.0.2 and PHP 8.1.

    I assume it will also occur with the free versions of GeneratePress and GenerateBlocks as the Pro features don’t seem to be relevant. (I assume, but haven’t tested it – I’m a bit short of time).

    The steps to reproduce are:
    1. Create a new page
    2. Add a GenerateBlocks ‘Container’ Block
    3. Inside that Container Block add the Lightweight-Accordian block, and try to add an answer. It won’t let you.

    It works fine if it is put inside a GenerateBlocks Grid block, but not in the Container Block. The issue is the container block, which is tricky as the container block is used for quite a lot on GeneratePress/Block sites.

    A workaround which I use successfully (but it’s a bit annoying), is to create the Lightweight Accordian Block elsewhere on the page (not inside a generateblock container), set the question and answer how you want, and then move it into the right place inside the GeneratePress Container.
    It then works fine, and the answers can be edited.

    I’ve tried it with several browsers (firefox, safari, chrome – all latest version) and it doesn’t make a difference, so I doubt it’s browser related.

    I hope this helpful to track down this issue. Tom and the Team at Generatepress, and GenerateBlocks are super helpful and maybe of use to you if you need it ??

    • This reply was modified 2 years, 2 months ago by krystoflp.
    • This reply was modified 2 years, 2 months ago by krystoflp. Reason: done a bit more fault tracking for you, so updated post
    • This reply was modified 2 years, 2 months ago by krystoflp.
    • This reply was modified 2 years, 2 months ago by krystoflp.
    • This reply was modified 2 years, 2 months ago by krystoflp.
    Plugin Author Andy Feliciotti

    (@someguy9)

    @chrisscottuk This is really helpful (I use generatepress/blocks all the time) Let me get to the bottom of this I think having the steps to reproduce the issue will finally let me fix this

    Awesome! If it still proves tricky let me know what you need and I’ll try and help, but time is limited so it may take me a little while.

    Plugin Author Andy Feliciotti

    (@someguy9)

    @chrisscottuk Can you try adding this CSS snippet to the end of /wp-content/plugins/lightweight-accordion/editor-styles.css before I push this update.

    CSS:
    https://gist.github.com/someguy9/e5c14fd7a62dfcbfae42714bdfa7e4ba

    I’ve tested this. It works perfectly!
    Thanks for resolving it so quickly. Looking forward to it getting pushed out ??

    Plugin Author Andy Feliciotti

    (@someguy9)

    @chrisscottuk just pushed it, thanks for helping me test!

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘I can’t edit answers’ is closed to new replies.