Skip to content

Commit

Permalink
remove consoles
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaroldi committed Jun 6, 2024
1 parent 1af0ee9 commit 377b27d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class ImageEditPlugin implements ImageEditor, EditorPlugin {
if (event.eventType == 'selectionChanged' && this.editor) {
const selection = event.newSelection;
const previousSelection = event.previousSelection;
console.log('selectionChanged', selection, previousSelection);

if (previousSelection?.type == 'image' && selection && this.shadowSpan) {
const previousImage = previousSelection.image;
if (previousImage) {
Expand Down Expand Up @@ -546,7 +546,6 @@ export class ImageEditPlugin implements ImageEditor, EditorPlugin {
this.wasImageResized || this.isCropMode,
this.clonedImage
);
console.log('formatImageWhenSelectionChange', insertPoint);
if (insertPoint) {
insertPoint.marker.isSelected = true;
image.isSelected = false;
Expand Down

0 comments on commit 377b27d

Please sign in to comment.