-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
Description
I am saving some content with headings, with such a config:
module.exports = {
heading: {
options: [
{ model: "paragraph", title: "Paragraph", class: "ck-heading_paragraph" },
{
model: "heading1",
view: {
name: "p",
classes: "title-1",
},
title: "Heading 1",
class: "ck-heading_heading1",
},
], ...
};
When I input content such as:
heading 1
paragraph
It gets saved properly, and when i try to retrieve the text, it shows the following:
<p class=\"title-1\">Header 1</p><p> </p><p>paragraph</p>
However, when i refresh the content page on strapi, the headings are gone from the editor, and I get asked to save the version without any defined heading.
Metadata
Metadata
Assignees
Labels
No labels
