Markdown blocks are used in the body of ArticlePages. They accept html and markdown content as their value. However we only want to use one formatting type when sendin the content via th API.
Therefore, this PR removes the validation that prevents html from being added to the content. It also overwrites the api representation of the block to convert any html content to purely markdown before sending it via the API.
Markdown blocks are used in the body of ArticlePages. They accept html and markdown content as their value. However we only want to use one formatting type when sendin the content via th API.
Therefore, this PR removes the validation that prevents html from being added to the content. It also overwrites the api representation of the block to convert any html content to purely markdown before sending it via the API.