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