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

lilium-text

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lilium-text - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

11

dev/liliumtext.js

@@ -678,5 +678,10 @@ class LiliumTextCommand {

const selection = window.getSelection();
const context = this.createSelectionContext(selection.focusNode);
const element = selection.focusNode.parentElement;
this.fire('clicked', { context, event, selection, element });
if (selection.focusNode && selection.focusNode.parentElement) {
const context = this.createSelectionContext(selection.focusNode);
const element = selection.focusNode.parentElement;
this.fire('clicked', { context, event, selection, element });
} else {
this.fire('clicked', { selection, event });
}
}

@@ -683,0 +688,0 @@

{
"name": "lilium-text",
"version": "0.1.7",
"version": "0.1.8",
"description": "Web rich text editor. Not ready to be used at all.",

@@ -5,0 +5,0 @@ "main": "build/liliumtext.js",

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