wix-style-react
Version:
25 lines (20 loc) • 529 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var originalExecCommand = typeof document === 'undefined' ? function () {} : document.execCommand;
var install = function install() {
if (typeof document === 'undefined') {
return;
}
document.execCommand = function () {};
};
var uninstall = function uninstall() {
document.execCommand = originalExecCommand;
};
var _default = {
install: install,
uninstall: uninstall
};
exports["default"] = _default;