Remove preview styles from demo

This commit is contained in:
Daniel Lautzenheiser 2023-04-05 14:15:33 -04:00
parent e1bace3183
commit 31b5588251

View File

@ -165,7 +165,6 @@ const CustomPage = () => {
return <div>I am a custom page!</div>;
};
cms.registerPreviewStyle(".toastui-editor-contents h1 { color: blue }", { raw: true });
cms.registerPreviewTemplate("posts", PostPreview);
CMS.registerPreviewCard("posts", PostPreviewCard);
CMS.registerFieldPreview('posts', 'date', PostDateFieldPreview);