New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@potok/editor

Package Overview
Dependencies
Maintainers
2
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@potok/editor - npm Package Compare versions

Comparing version 3.0.7 to 3.0.8

14

lib/Editor.jsx

@@ -267,3 +267,3 @@ // @flow

) {
updateVariables(editorView, docVariables);
setTimeout(() => updateVariables(editorView, docVariables), 0);
}

@@ -348,11 +348,7 @@ }

const plainContent =
contentTopNode.innerHTML === EMPTY_EDITOR_INPUT_STRING
? ''
: contentTopNode.innerHTML;
const plainContent = this.isEditorContentEmpty(newState)
? ''
: contentTopNode.innerHTML;
if (
!this.isEditorContentEmpty &&
this.state.plainContent !== plainContent
) {
if (this.state.plainContent !== plainContent) {
const nextState = {

@@ -359,0 +355,0 @@ plainContent,

{
"name": "@potok/editor",
"version": "3.0.7",
"version": "3.0.8",
"description": "Potok.io rich text editor (based on ProseMirror)",

@@ -5,0 +5,0 @@ "main": "./lib/Editor.jsx",

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