CKEditor 4 reached its End of Life (EOL) in June 2023. From then on, it will receive no more updates, new features, bug fixes, and security patches. Visit CKEditor 5 Docs for the actively supported CKEditor or check Extended Support Model.
Report an issue
Class

CKEDITOR.plugins.undo.Image

class private

Contains a snapshot of the editor content and selection at a given point in time.

Filtering

Properties

Methods

  • constructor( editor, [ contentsOnly ] ) → Image

    Creates an Image class instance.

    Parameters

    editor : editor

    The editor instance on which the image is created.

    [ contentsOnly ] : Boolean

    If set to true, the image will only contain content without the selection.

    Returns

    Image
  • equalsContent( otherImage ) → Boolean

    Parameters

    otherImage : Image

    Image to compare to.

    Returns

    Boolean

    Returns true if content in otherImage is the same.

  • equalsSelection( otherImage ) → Boolean

    Parameters

    otherImage : Image

    Image to compare to.

    Returns

    Boolean

    Returns true if selection in otherImage is the same.