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

cm-page-builder

Package Overview
Dependencies
Maintainers
4
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cm-page-builder - npm Package Compare versions

Comparing version 1.2.8 to 1.2.9

4

lib/page/PageContainer.js

@@ -153,4 +153,4 @@ 'use strict';

var link = prompt('Enter a link');
// document.execCommand('insertHTML', true, `<a href=${link} target="_blank">${window.getSelection().toString()}</a>`)
document.execCommand(action, false, link);
document.execCommand('insertHTML', true, '<a href=//' + link + ' target="_blank">' + window.getSelection().toString() + '</a>');
//document.execCommand(action, false, link)
} else document.execCommand("unlink", false, false);

@@ -157,0 +157,0 @@ } else document.execCommand(action);

{
"name": "cm-page-builder",
"version": "1.2.8",
"version": "1.2.9",
"description": "Awesome react starter kit",

@@ -5,0 +5,0 @@ "main": "lib/page/index.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