ckeditor / strapi-plugin-ckeditor

CKEditor 5 - Official Integration for Strapi
https://market.strapi.io/plugins/@ckeditor-strapi-plugin-ckeditor
Other
72 stars 79 forks source link

`Insert HTML` unable to be saved, stripped out #80

Closed xmakina closed 1 year ago

xmakina commented 1 year ago

Setup schema.json

{
"attributes": {
    "body": {
      "type": "customField",
      "options": {
        "output": "Markdown",
        "preset": "rich"
      },
      "customField": "plugin::ckeditor.CKEditor",
      "required": true
    }
}
}

package.json

"@ckeditor/strapi-plugin-ckeditor": "^0.0.9",

Reproduction Starting with existing article image

Click Insert HTML and enter some HTML image

Expected The save button in the top right should be enabled

Actual The save button is not enabled. Adding some arbitrary text outside the HTML Snippet box enables the save button, but after saving reloading the page in the HTML Snippet is no longer present and has not been saved.

xmakina commented 1 year ago

FIX:

After entering HTML, the editor needs to click the green Tick Box to save the changes.