• Resolved Zeljko Jagust

    (@zjagust)


    Hi,

    I am using the latest WordPress (Version 6.7.2) and the latest Code Block Pro (1.26.6). I am using the Code Pro block to insert code in my posts. Mostly, I am writing Linux system administration guides, so I heavily rely on your plugin.

    With the latest iteration of your plugin (and several previous ones), I have noticed a heavy “lag” in the default WP post editor. When your plugin is active, and Code Pro blocks are used in the posts, the editor becomes randomly unresponsive every few seconds. If I deactivate the plugin, everything is back to normal (no unresponsiveness).

    Do you know what may cause this issue, and is there any more information I can provide so this issue can be resolved? Thank you!

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kevin Batdorf

    (@kbat82)

    Do you think it’s a conflict with another plugin? If another block is triggering a full page render it could have an impact since the code block requires processing. It should only process as you type, but something else could be triggering it.

    Could you try deactivating other plugins and see? Or list them here and I can try installing them. Is it on any page with a code block or do you have some pages with a lot of code block on them?

    Thread Starter Zeljko Jagust

    (@zjagust)

    Hi Kevin,

    Thank you for your quick response. First, I’d just like to clarify: There are absolutely no issues with Code Block Pro rendering on the front end. The “issue” is only present in the WP editor.

    As for the themes and plugins, I am using the following ones:

    Theme: Themeco Pro

    Plugins:

    • Akismet AntiSpam (Pro)
    • Autoptimize
    • Code Block Pro
    • Contact Form 7
    • Easy Accordion
    • MailPoet
    • WP Armour – Honeypot Anti Spam
    • WP Armour Extended – Honeypot Anti Spam
    • WP Recipe Maker
    • WP Tabs
    • WP-Polls
    • Yoast SEO
    • Yoast SEO Premium

    I use Code Pro blocks in almost all my articles, and yeah, as I already said, based on the topics I’m covering (Linux sysadmin guides), I use them extensively, with many Code Pro blocks in each article. If you need more information, please don’t hesitate to let me know.

    Plugin Author Kevin Batdorf

    (@kbat82)

    Might not be able to get to this until the weekend. Did you try deactivating the other plugins for a moment to see if there’s a conflict? Maybe even the theme? It could really be any plugin (could also be a bug in Code Block, but ruling things out is step 1).

    Also, does it happen as you type or just randomly? And if typing, is it when typing in any block of just the code block?

    Is it on every post or only some? Could you pick one where it happens regularly, duplicate the post as a draft, then remove all but one code block (and maybe even just make it a small code snippet). Does it still happen then?

    Thread Starter Zeljko Jagust

    (@zjagust)

    Hi Kevin,

    Please accept my apology. My issue has nothing to do with your plugin. After further examination, Yoast SEO Premium is the plugin to blame for the WP editor’s unresponsiveness.

    Please feel free to close/archive this ticket. I wish you all the best in future Code Block Pro development. You’re doing a great job, and I absolutely love the plugin!

    BR,
    Zeljko Jagust

    Plugin Author Kevin Batdorf

    (@kbat82)

    Thanks for debugging that and narrowing it down! I wonder if Yoast Free is also an issue. It’s likely the plugin is re-rendering the page too often and causing the code block to lock the browser. I’ll install it and see if I can find a work around. If possible, could you reach out to them as well. Maybe there’s something they can do on their end too.

    Thread Starter Zeljko Jagust

    (@zjagust)

    Hi Kevin,

    No, Yoast Free does not cause problems. The editor starts to randomly hang only when Yoast SEO Premium is active, and probably for the reason you specified. I am in the chat with their support right now. If you’d like, I can update this ticket to see if they can specify the reason why the issue is happening or provide a solution.

    BR,
    Zeljko Jagust

    Plugin Author Kevin Batdorf

    (@kbat82)

    That would be great if you could follow up. I imagine others are experiencing this issue too. Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘WP post editor becomes randomly unresponsive’ is closed to new replies.