Make WordPress Core

Opened 13 months ago

Last modified 7 months ago

#59087 new defect (bug)

Can’t Paste Markdown Into WP 6.3 Gutenberg, Old Posts are Wonky

Reported by: hmnvtn's profile hmnvtn Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.4.3
Component: Editor Keywords:
Focuses: Cc:

Description

Not sure if this is a bug, but you can’t paste markdown into WP 6.3 Gutenberg. I mean you can paste it in the editor, but the page will be all screwy and uneditable.

Also, all old posts where you previously pasted markdown are similarly messed up, many block errors, uncentered images, can’t edit, etc.

I replicated this by creating a new post and just adding one block at a time, everything works fine.

I then created a new post and pasted in markdown like I have been doing for years all the way up through WP 6.2.2, and the post was completely messed up and uneditable again.

I sure hope they fix tihs! I write all of my posts in Obsidian using markdown and then paste them into the block editor. If I can no longer do this, no way I’ll ever upgrade to 6.3 again … had to roll back to 6.2.2 to fix everything.

Change History (4)

#1 @sabernhardt
12 months ago

  • Component changed from General to Editor

#2 follow-up: @ritterml
7 months ago

  • Version set to 6.4.3

I have run into similar issues.

Using Local, I started with an install of 6.2.2 with 2023 theme.

I copied markdown from VS Code and pasted into new page.

Editor displayed blocks as expected (headings, paragraphs, lists, blockquotes).

I updated to 6.4.

Everything displayed as expected.

I updated theme.

Everything displayed as expected.

I created a new page.

I copied markdown from VS Code and the editor displayed the raw markdown, not expected blocks.

I deleted then pasted same markdown into Sublimetext then copied and pasted into editor.

Blocks displayed as expected in editor.

#3 in reply to: ↑ 2 ; follow-up: @ritterml
7 months ago

Replying to ritterml:

I have run into similar issues.

Using Local, I started with an install of 6.2.2 with 2023 theme.

I copied markdown from VS Code and pasted into new page.

Editor displayed blocks as expected (headings, paragraphs, lists, blockquotes).

I updated to 6.4.

Everything displayed as expected.

I updated theme.

Everything displayed as expected.

I created a new page.

I copied markdown from VS Code and the editor displayed the raw markdown, not expected blocks.

I deleted then pasted same markdown into Sublimetext then copied and pasted into editor.

Blocks displayed as expected in editor.

#4 in reply to: ↑ 3 @ritterml
7 months ago

Has something changed is how pasted content is escaped in the editor between these releases?

Replying to ritterml:

Replying to ritterml:

I have run into similar issues.

Using Local, I started with an install of 6.2.2 with 2023 theme.

I copied markdown from VS Code and pasted into new page.

Editor displayed blocks as expected (headings, paragraphs, lists, blockquotes).

I updated to 6.4.

Everything displayed as expected.

I updated theme.

Everything displayed as expected.

I created a new page.

I copied markdown from VS Code and the editor displayed the raw markdown, not expected blocks.

I deleted then pasted same markdown into Sublimetext then copied and pasted into editor.

Blocks displayed as expected in editor.

Note: See TracTickets for help on using tickets.