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 ] ) → ImageCKEDITOR.plugins.undo.Image#constructorCreates an Image class instance.
Parameters
editor : editorThe editor instance on which the image is created.
[ contentsOnly ] : BooleanIf set to
true, the image will only contain content without the selection.
Returns
Image
-
equalsContent( otherImage ) → BooleanCKEDITOR.plugins.undo.Image#equalsContentParameters
otherImage : ImageImage to compare to.
Returns
BooleanReturns
trueif content inotherImageis the same.
-
equalsSelection( otherImage ) → BooleanCKEDITOR.plugins.undo.Image#equalsSelectionParameters
otherImage : ImageImage to compare to.
Returns
BooleanReturns
trueif selection inotherImageis the same.