CKEditor doesn't save content and adds extra <p></p> (Symfony4)



  • Hello everyone!

    I have CKEditor in Symfony4 and it is configured in fos_ckeditor.yaml. When I click on pencil once, it adds tags. When I click on pencil twice, it removes all content. I want content to remain the same regardless of the number of clicks. Please, help.
    My fos_ckeditor.yaml:

    standard_config:
        basicEntities: false
        htmlEncodeOutput: true
        allowedContent: true
        removeFormatAttributes: false
        removeFormatTags: false
        entities: true
        toolbar: "standard_toolbar"
        extraPlugins: "youtube,timestamp,timestamp2,super_link,ins_my_html,ins_my_banner,imagerotate,oembed"
    big_size_config:
        basicEntities: false
        htmlEncodeOutput: true
        height: 30em
        allowedContent: true
        removeFormatAttributes: false
        removeFormatTags: false
        entities: true
        toolbar: "standard_toolbar"
        extraPlugins: "youtube,timestamp,timestamp2,super_link,ins_my_html,ins_my_banner,imagerotate,oembed"

Log in to reply