• Resolved Thierry

    (@theremingenieur)


    Post block:
    Previously created post blocks are well rendered at the front end but show an error message in the Gutenberg editor. Impossible to create new post blocks, as soon as you enter something in the search field for a post, it spins forever and doesn’t find anything.

    Summary block:
    Works basically well when enumerating Heading blocks, but does not take into account heading blocks which have been previously converted into reusable blocks which is a huge problem since my site uses lots of reusable blocks for different events which happen at the same venue, for example.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Thierry

    (@theremingenieur)

    Additional information: As soon as I enter a keyword in the search field while trying to create a new post block, I get the following error in the console: TypeError: undefined is not an object (evaluating ‘new wp.api.collections’) in index.js:44

    Hope that this helps

    • This reply was modified 6 years, 2 months ago by Thierry.
    Plugin Author maximebj

    (@maximebj)

    Thanks ! I’ll fix it this week. I had rewrote some chunk of code and fucked up something. I should test more…

    Plugin Author maximebj

    (@maximebj)

    Should be working in 1.4.2. I changed the way I call the WP API. Some of the functions I used were deprecated.

    For summary block i can’t do anything until it’s fixed in Gutenberg Core. I’ll open an issue for that on the main project and let you know!

    Hi Maxime, your plugin is SO USEFUL ?? thank you!

    I’m having an issue with the Summary block tho. I’m not sure you’ll be able to answer, as i’m using another plugin with yours.

    I’m using another Blocks plugin call Kadence blocks
    especially for the Row block which i use to make 1/3 2/3 etc columns..

    The thing is, your Summary block is not working inside the row block.
    It is showing the message “Your current post/page has no headings. Try add some headings and update this block later”

    I’m pretty sure it’s not working because the Kadence plugin add a div to makes the columns work :

    <div class="entry-content clear">
    <div class="wp-block-kadence-rowlayout alignnone">
    
    MY CONTENT I WANT TO ADD A SUMMARY TO
    
    </div>
    </div>

    Do you have any idea how to get the Summary works into that div ?

    Thank you again !

    Plugin Author maximebj

    (@maximebj)

    Hi and thanks for your kinds words!

    I may have oversimplified the gutenberg function that gets titles and it doesn’t look inside columns and others sub-blocks.

    When you click here :
    https://cl.ly/70f3ae19530a/capture%202018-12-19%20a%CC%80%2016.29.19.jpg

    Do you see your titles?

    Thank you for the fast answer!

    I do see my titles when i click the Info icon.
    Here a screenshot of what i have.

    Screen
    Thank for helping me out ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Found 2 bugs: Post block and summary’ is closed to new replies.