When creating or updating articles via API with AI mode enabled, the AI processing step is converting <multicode-component> web components into simple <pre><code> tags, stripping newlines in the process.
This prevents programmatically importing articles with multi-syntax code blocks.
Steps to Reproduce:
Create article via POST/PATCH API request with AI mode enabled
Include a properly formatted <multicode-component> in the body HTML
Observe that the saved article has <pre><code> instead
Please authenticate to join the conversation.
In Review
Help Center
10 months ago

Matt Jones
Get notified by email when there are changes.
In Review
Help Center
10 months ago

Matt Jones
Get notified by email when there are changes.