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.