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

@aeaton/prosemirror-placeholder

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aeaton/prosemirror-placeholder - npm Package Compare versions

Comparing version 0.1.0 to 2.0.0-alpha.0

index.d.ts

39

package.json
{
"name": "@aeaton/prosemirror-placeholder",
"version": "0.1.0",
"description": "A placeholder plugin for ProseMirror",
"repository": "hubgit/react-prosemirror",
"license": "MIT",
"main": "dist",
"version": "2.0.0-alpha.0",
"main": "index.js",
"source": "index.ts",
"types": "index.d.ts",
"files": [
"dist",
"src",
"**/*.{js,d.ts}",
"style"
],
"publishConfig": {
"access": "public"
"license": "MIT",
"peerDependencies": {
"prosemirror-state": "^1.3.4",
"prosemirror-view": "^1.17.3"
},
"dependencies": {
"prosemirror-state": "^1.1.0",
"prosemirror-view": "^1.1.1"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"clean-webpack-plugin": "^0.1.17",
"css-loader": "^0.28.7",
"style-loader": "^0.20.1",
"webpack": "^3.8.1",
"webpack-node-externals": "^1.6.0"
},
"scripts": {
"prepublishOnly": "npm run build",
"build": "webpack --progress"
}
"gitHead": "47fd964a83f5953d01c0336e2f91281045a28e17"
}

@@ -0,1 +1,3 @@

## Usage
```js

@@ -5,6 +7,5 @@ import { placeholder } from '@aeaton/prosemirror-placeholder'

const plugins = [
placeholder({
content: 'Start typing…'
})
placeholder(),
// ...
]
```

Sorry, the diff of this file is not supported yet

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