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

scribe-editor

Package Overview
Dependencies
Maintainers
9
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scribe-editor - npm Package Compare versions

Comparing version 1.4.15 to 2.0.0

6

CHANGELOG.md

@@ -0,1 +1,7 @@

# 2.0.0
A split text node will [no longer be replaced by a non-breaking backspace](https://github.com/guardian/scribe/pull/421) but instead should be a regular space character.
Thanks [Jeffrey Wear](https://github.com/wearhere) for this change/fix
# 1.4.15

@@ -2,0 +8,0 @@

2

package.json
{
"name": "scribe-editor",
"version": "1.4.15",
"version": "2.0.0",
"main": "src/scribe.js",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -141,3 +141,8 @@ define(function () {

Array.prototype.forEach.call(this.getMarkers(), function (marker) {
var markerParent = marker.parentNode;
nodeHelpers.removeNode(marker);
// Placing the markers may have split a text node. Sew it up, otherwise
// if the user presses space between the nodes the browser will insert
// an ` ` and that will cause word wrapping issues.
markerParent.normalize();
});

@@ -144,0 +149,0 @@ };

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