dmsnell / blocky-formats

Use the WordPress Block Editor to edit other structural formats.
1 stars 0 forks source link

Newlines are not preserved in code blocks #1

Open adamziel opened 3 weeks ago

adamziel commented 3 weeks ago

I added a code block in the editor and pasted this:

 * Pair the site editor's nested iframe to the Service Worker.
 *
 * Without the patch below, the site editor initiates network requests that
 * aren't routed through the service worker. That's a known browser issue.

However, in the final markdown, I got this instead (in backtick fences):

 * Pair the site editor's nested iframe to the Service Worker. * * Without the patch below, the site editor initiates network requests that * aren't routed through the service worker. That's a known browser issue.
dmsnell commented 3 weeks ago

Thanks for notifying. I think I ran into this at one point.

dmsnell commented 3 weeks ago

@adamziel I'm unable to reproduce the missing newlines.

dmsnell commented 11 hours ago

@adamziel can you confirm that this is still an issue?