I am writing to inquire about the display of CKEditor's rich text output in HTML/Markdown into Frontend(React) using React-Markdown. As an initial step, I have imported the official content styles into React from the CKEditor team. However, I have encountered an issue where the CSS class names are missing, and the HTML/Markdown output appears different from the actual CKEditor HTML output when viewed using Strapi REST API.
Specifically, when a table is rendered using CKEditor5 Custom field from Strapi REST API, the resulting HTML output is simply <table>...</table>. However, when inspecting the table generated from the CKEditor5 examples on the official site, the HTML output looks like this:
To ensure consistency in rendering the HTML/Markdown output in React with the CKEditor5 content style format, I would like to inquire whether there is a way to receive the HTML/Markdown output in this format, or if there is an alternative solution to achieve this.
I am writing to inquire about the display of CKEditor's rich text output in HTML/Markdown into Frontend(React) using React-Markdown. As an initial step, I have imported the official content styles into React from the CKEditor team. However, I have encountered an issue where the CSS class names are missing, and the HTML/Markdown output appears different from the actual CKEditor HTML output when viewed using Strapi REST API.
Specifically, when a table is rendered using CKEditor5 Custom field from Strapi REST API, the resulting HTML output is simply
<table>...</table>
. However, when inspecting the table generated from the CKEditor5 examples on the official site, the HTML output looks like this:To ensure consistency in rendering the HTML/Markdown output in React with the CKEditor5 content style format, I would like to inquire whether there is a way to receive the HTML/Markdown output in this format, or if there is an alternative solution to achieve this.