@aeaton/prosemirror-placeholder
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -118,3 +118,3 @@ module.exports = | ||
node.textContent = options.content; | ||
node.classList.add('placeholder'); | ||
node.className = 'placeholder'; | ||
@@ -121,0 +121,0 @@ return _prosemirrorView.DecorationSet.create(state.doc, [_prosemirrorView.Decoration.widget(1, node)]); |
{ | ||
"name": "@aeaton/prosemirror-placeholder", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A placeholder plugin for ProseMirror", | ||
@@ -33,5 +33,5 @@ "repository": "hubgit/react-prosemirror", | ||
"prepublishOnly": "npm run build", | ||
"prebuildx": "rimraf dist", | ||
"prebuild": "rimraf dist", | ||
"build": "webpack --progress" | ||
} | ||
} |
@@ -20,3 +20,3 @@ import { Plugin } from 'prosemirror-state' | ||
node.textContent = options.content | ||
node.classList.add('placeholder') | ||
node.className = 'placeholder' | ||
@@ -23,0 +23,0 @@ return DecorationSet.create(state.doc, [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23034
7