• Hi, first off – thanks for an awesome plugin! It’s a breeze to work with, and code-wise nicely structured and easy to debug/step through.

    I’ve patched 1.20 on the WordPress multisite this is being used on, and just re-applied the same patch to 1.21. Is there any chance this can get included in the codebase?

    // file ./wp-content/plugins/mammoth-docx-converter/mammoth-editor.js
    // Lines 185 to 187


    // SK core/editor removed in 6.2, use core/block-editor instead
    var block = wp.blocks.createBlock("core/freeform", {content: text});
    wp.data.dispatch("core/block-editor").insertBlocks(block);

    Thanks!

    Sandra.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Insert into editor – deprecated js’ is closed to new replies.