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

scribe-plugin-span-style

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scribe-plugin-span-style - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

package.json
{
"name": "scribe-plugin-span-style",
"version": "0.1.4",
"version": "0.1.5",
"description": "A Scribe Plugin for adding inline styles through <span> elements",

@@ -5,0 +5,0 @@ "main": "src/scribe-plugin-span-style.js",

@@ -9,3 +9,3 @@ define(function () {

var clearChildStyles = (root) => {
var clearChildStyles = function(root) {
if (typeof root === 'undefined' || typeof root.childNodes === 'undefined') return;

@@ -66,3 +66,3 @@

var selection = new scribe.api.Selection();
return !!selection.getContaining(node => {
return !!selection.getContaining(function(node) {
if (node.style) {

@@ -69,0 +69,0 @@ return (node.nodeName === this.nodeName && node.style[styleName] !== '');

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