Skip to content

CKEditor load/save issue #102

Open
Open

Description

@Jako

The CKEditor is displayed right but somehow the updated field content is not saved.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. Mark-H commented on Dec 9, 2015

    @Mark-H
    Member

    Needs a double save I guess. Issue in CKEditor where the content is not automatically written back to the underlying textarea, something that unfortunately also happens with TinyMCE RTE but not with Redactor or the classic TinyMCE. It's not a ClientConfig specific issue, but I'll leave this open for now until there's a solution.

  2. loxy commented on Apr 20, 2017

    @loxy

    The same is true for Ace

  3. vallev commented on Apr 22, 2017

    @vallev

    Here's a workaround. As we need to save the content into the associated textarea on each CKEditor change, we can force it by adding these lines to ckeditor/config.js:

    for (var i in CKEDITOR.instances) {
        CKEDITOR.instances[i].on('change', function() { 
            CKEDITOR.instances[i].updateElement() 
        });
    }
    

    Should work fine with any version of ClientConfig. I haven't seen any conflicts so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions