Closed Bluesmile82 closed 8 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
orcasa-client | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 8, 2024 4:37pm |
It seems that you have not limited the capabilities of the wysiwyg in Strapi. For example, if I put some text in italic, it does appear as italic in the front-end.
Have you explored using a custom field/new wysiwyg for this use case? Here's the some documentation:
- WYSIWYG editor documentation
- Customizing the WYSIWYG in Strapi (video)
- CKEditor 5 - Official Integration
I think it would be worth it to investigate limiting the wysiwyg because this will also be required for another story (ORC-422).
I wasn't sure if this was part of the task. I will take a look
The page model now has a new markdown rich text called intro. This intro should only have text and 'strong' tag (text). This intro is now displayed instead of the description text in the different pages. In Scientific Evidence we can not access this so it would have to be changed on their code if needed.
The Strapi backend now is using the Ckeditor 5 with custom config to limit the options to write the content. This plugin exports HTML so the frontend has been adapted (There is a markdown output but I wasn't able to configure it as documentation is not very clear for this version)