WPIntell

Source evidence

Syntax Error when trying to insert a digram

MerPress · support · 2025-01-04T23:52:00+00:00

complaintsentiment
mediumseverity
0.92relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 31 rows with source links

19.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

25 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
akamali unresolved
On fresh copy of WordPress with standard theme when I try and add MerPress block I get Syntax Error. Unchecked runtime.lastError: The message port closed before a response was received. 2 index.js?ver=3ac04bb…:1 UnknownDiagramError: No diagram type detected matching given configuration for text: at detectType (mermaid.min.js:7:74) at Diagram.fromText (mermaid.min.js:2266:10414) at getDiagramFromText (mermaid.min.js:2274:2575) at Object.parse (mermaid.min.js:2268:1412) at mermaid.min.js:2274:5328 at new Promise (<anonymous>) at performCall (mermaid.min.js:2274:5305) at executeQueue (mermaid.min.js:2274:5182) at mermaid.min.js:2274:5449 at new Promise (<anonymous>) (anonymous) @ View post on imgur.com View post on imgur.com That’s a good catch. An empty diagram gives a syntax error. You should be able to still enter a valid diagram though? Here’s a test I ran on the playground instance: [video src="https://videos.files.wordpress.com/94c7PW1B/kapture-2025-01-04-at-20.43.42.mp4" /] Do you think there should be an exception for empty diagrams? Maybe some placeholder to identify what needs to happen next? This reply was modified 1 year, 4 months ago by neffff . This reply was modified 1 year, 4 months ago by neffff .

Comments

2 shown
akamali 2025-01-05T04:20:00+00:00

View post on imgur.com View post on imgur.com

neffff 2025-01-05T04:47:00+00:00

That’s a good catch. An empty diagram gives a syntax error. You should be able to still enter a valid diagram though? Here’s a test I ran on the playground instance: [video src="https://videos.files.wordpress.com/94c7PW1B/kapture-2025-01-04-at-20.43.42.mp4" /] Do you think there should be an exception for empty diagrams? Maybe some placeholder to identify what needs to happen next? This reply was modified 1 year, 4 months ago by neffff . This reply was modified 1 year, 4 months ago by neffff .