• Resolved wpsoul

    (@wpsoul)


    I found that plugin has big problems with importing Gutenberg blocks. It looks like some conversion before import and removing/converting HTML entities and block attributes, in some cases, blocks are totally removed or messed.

    Can you write me any hook or filter to disable conversion from theme?

    P.s. the same XML import file, if imported via WordPress import tool is working properly

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter wpsoul

    (@wpsoul)

    P.s Ok, I guess, it’s more bug of WordPress export than import. Anyway, I will appreciate if you tell me if plugin makes some conversion before importing post content or not so I can investigate more deeply.

    • This reply was modified 3 years, 1 month ago by wpsoul.
    • This reply was modified 3 years, 1 month ago by wpsoul.
    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @wpsoul,

    our plugin does not make any conversions of the actual content it imports. Therefore, there is no filter to “disable conversions”.

    Is your theme using any custom blocks (plugins), that maybe weren’t active when you made the import?

    Could you please tell us in more detail what actually goes wrong with the import?

    If possible, prepare a small XML import file of a page/post, that is not imported correctly, so we could also test it out?

    Take care!

    Thread Starter wpsoul

    (@wpsoul)

    I think it’s more bug of wordpress importer, I found that you use it in plugin

    require ABSPATH . '/wp-admin/includes/class-wp-importer.php';

    So, I don’t think that you can help. I will try to remove HTML from blocks, because I don’t see any other solution

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin doesn’t import Gutenberg blocks’ is closed to new replies.