System Information
- Strapi Version: 4.4.0
- Operating System: Mac
- Node Version: 16.17.0
- NPM Version: 8.15.0
- @_sh/strapi-plugin-ckeditor:1.1.2
For a rich-text editor, I’m using @_sh/strapi-plugin-ckeditor (a build of ckeditor5).
Is it possible to have it set to save as markdown but still include some html?
Per the instructions, I’ve included removePlugins: ['']
in the file config/plugins.js for ckeditor.
This does cause it to save the rich text to markdown. But if I try to add any html to the text, it is escaped. If I switch to the markdown view and remove the escaping, the html elements are removed.
I’ve tried adding in, for example, htmlSupport: {allow: [ name: "div" } ]
, but it doesn’t change the behavior.
Is there any additional configuration? Or is this something that isn’t possible?