Skip to content

Commit

Permalink
Remove unnecessary Firefox tweak. Fixes #23. (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
xeger authored Oct 15, 2023
1 parent 0871bfb commit c07b754
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/quill-image-actions/src/ImageActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ export default class ImageActions {
Object.assign(this.overlay.style, this.options.overlay.style);
}

// disable native image resizing on firefox
document.execCommand('enableObjectResizing', false, 'false');
// todo: still necessary? may be a relic of Firefox support
this.withParentNode((pn) => {
pn.style.position = pn.style.position || 'relative';
});
Expand Down

0 comments on commit c07b754

Please sign in to comment.