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

textarea-markdown

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

textarea-markdown - npm Package Compare versions

Comparing version 1.2.7 to 1.2.8

8

lib/textarea-markdown.js

@@ -33,3 +33,4 @@ 'use strict';

csrfToken: null,
placeholder: 'uploading %filename ...'
placeholder: 'uploading %filename ...',
plugins: []
}, options);

@@ -101,2 +102,3 @@ this.previews = [];

var plugins = this.plugins;
if (this.previews) {

@@ -110,2 +112,6 @@ this.previews.forEach(function (preview) {

});
plugins.forEach(function (plugin) {
return md.use(plugin);
});
preview.innerHTML = md.render(_this3.textarea.value);

@@ -112,0 +118,0 @@ });

2

package.json
{
"name": "textarea-markdown",
"version": "1.2.7",
"version": "1.2.8",
"description": "Make textarea a markdown editor.",

@@ -5,0 +5,0 @@ "main": "lib/textarea-markdown.js",

@@ -12,3 +12,4 @@ import 'whatwg-fetch'

csrfToken: null,
placeholder: 'uploading %filename ...'
placeholder: 'uploading %filename ...',
plugins: []
}, options)

@@ -61,2 +62,3 @@ this.previews = [];

applyPreview() {
const plugins = this.plugins
if (this.previews) {

@@ -70,2 +72,4 @@ this.previews.forEach((preview) => {

});
plugins.forEach((plugin) => md.use(plugin))
preview.innerHTML = md.render(this.textarea.value);

@@ -72,0 +76,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