Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tiptap-extension-resize-image

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiptap-extension-resize-image - npm Package Compare versions

Comparing version 0.0.6 to 0.0.8

4

dist/index.js

@@ -43,3 +43,3 @@ 'use strict';

$container.addEventListener('click', () => {
$container.setAttribute('style', `position: relative; border: 1px dashed #6C6C6C; ${style}`);
$container.setAttribute('style', `position: relative; border: 1px dashed #6C6C6C; ${style} cursor: pointer;`);
Array.from({ length: 4 }, (_, index) => {

@@ -71,3 +71,3 @@ const $dot = document.createElement('div');

if (typeof getPos === 'function') {
const newAttrs = Object.assign(Object.assign({}, node.attrs), { style: `${$img.style.cssText} cursor: pointer;` });
const newAttrs = Object.assign(Object.assign({}, node.attrs), { style: `${$img.style.cssText}` });
view.dispatch(view.state.tr.setNodeMarkup(getPos(), null, newAttrs));

@@ -74,0 +74,0 @@ }

@@ -39,3 +39,3 @@ import Image from '@tiptap/extension-image';

$container.addEventListener('click', () => {
$container.setAttribute('style', `position: relative; border: 1px dashed #6C6C6C; ${style}`);
$container.setAttribute('style', `position: relative; border: 1px dashed #6C6C6C; ${style} cursor: pointer;`);
Array.from({ length: 4 }, (_, index) => {

@@ -67,3 +67,3 @@ const $dot = document.createElement('div');

if (typeof getPos === 'function') {
const newAttrs = Object.assign(Object.assign({}, node.attrs), { style: `${$img.style.cssText} cursor: pointer;` });
const newAttrs = Object.assign(Object.assign({}, node.attrs), { style: `${$img.style.cssText}` });
view.dispatch(view.state.tr.setNodeMarkup(getPos(), null, newAttrs));

@@ -70,0 +70,0 @@ }

{
"name": "tiptap-extension-resize-image",
"version": "0.0.6",
"version": "0.0.8",
"type": "module",

@@ -5,0 +5,0 @@ "description": "",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc