CKEDITOR.plugins.undo.Image
class
private
Contains a snapshot of the editor content and selection at a given point in time.
Filtering
Properties
-
Bookmarks representing the selection in an image.Array of bookmark2 objects, see CKEDITOR.dom.range.createBookmark2 for definition.
-
Editor content.
Methods
-
constructor( editor, [ contentsOnly ] ) → Image
CKEDITOR.plugins.undo.Image#constructor
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
CKEDITOR.plugins.undo.Image#equalsContent
Parameters
otherImage : Image
Image to compare to.
Returns
Boolean
Returns
true
if content inotherImage
is the same.
-
equalsSelection( otherImage ) → Boolean
CKEDITOR.plugins.undo.Image#equalsSelection
Parameters
otherImage : Image
Image to compare to.
Returns
Boolean
Returns
true
if selection inotherImage
is the same.