element-tiptap
Advanced tools
Comparing version 1.8.0 to 1.9.0-beta.1
@@ -0,1 +1,19 @@ | ||
# [1.9.0-beta.1](https://github.com/Leecason/element-tiptap/compare/@1.8.0...@1.9.0-beta.1) (2020-02-23) | ||
### Bug Fixes | ||
* ๐ ALIGN_PATTERN ([10aeaf6](https://github.com/Leecason/element-tiptap/commit/10aeaf6263408fd6c504e4c40accf5336a3b1ee5)) | ||
* ๐ correct isListNode parameters types ([462475b](https://github.com/Leecason/element-tiptap/commit/462475b581fa0631e2c74fef9bb384ab38a6f95d)) | ||
* ๐ transformLineHeightToCSS parameter types ([a49125c](https://github.com/Leecason/element-tiptap/commit/a49125c6a97a3b47035fb925461065dd2508631c)) | ||
* ๐ zh lang add_column_after typo ([19d9e10](https://github.com/Leecason/element-tiptap/commit/19d9e106e3d9a389d5ebce4489ff4d43667bb482)) | ||
* ๐ line_height dropdown active item style ([0daaa38](https://github.com/Leecason/element-tiptap/commit/0daaa38e9b4c5c7e154dcc2d4de69cc15526c910)) | ||
* ๐ ProsemirrorNode typo ([524fdaf](https://github.com/Leecason/element-tiptap/commit/524fdaf866cd7c09703959815711a69a12a92a00)) | ||
### Features | ||
* โจ add tiptap, tiptap-extensions, tiptap-commands types definitions ([f08165a](https://github.com/Leecason/element-tiptap/commit/f08165a2dda9b1d2fe7d485d0be2101a7619c732)) | ||
* โจ vue add typescript ([bf3395a](https://github.com/Leecason/element-tiptap/commit/bf3395a6273047cf1753af9bcf9fa2b8330417d9)) | ||
# [1.8.0](https://github.com/Leecason/element-tiptap/compare/@1.7.2...@1.8.0) (2020-02-21) | ||
@@ -2,0 +20,0 @@ |
102
package.json
{ | ||
"name": "element-tiptap", | ||
"version": "1.8.0", | ||
"license": "MIT", | ||
"version": "1.9.0-beta.1", | ||
"description": "A WYSIWYG editor based on Tiptap and Element.", | ||
"author": "leecason", | ||
"scripts": { | ||
"serve": "vue-cli-service serve --open examples/main.js", | ||
"lint": "vue-cli-service lint", | ||
"build:example": "vue-cli-service build --dest dist examples/main.js", | ||
"build:lib": "rollup -c --environment BUILD:production", | ||
"build:example": "vue-cli-service build --dest dist examples/main.js", | ||
"lint": "vue-cli-service lint", | ||
"semantic-release": "semantic-release" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Leecason/element-tiptap.git" | ||
}, | ||
"keywords": [ | ||
"editor", | ||
"element", | ||
"element-ui", | ||
"tiptap", | ||
"prosemirror", | ||
"vue.js", | ||
"wysiwyg" | ||
"main": "lib/element-tiptap.common.js", | ||
"module": "lib/element-tiptap.esm.js", | ||
"unpkg": "lib/element-tiptap.js", | ||
"typings": "lib/index.d.ts", | ||
"files": [ | ||
"lib/*", | ||
"src/*" | ||
], | ||
"author": "leecason", | ||
"bugs": { | ||
"url": "https://github.com/Leecason/element-tiptap/issues" | ||
}, | ||
"homepage": "https://github.com/Leecason/element-tiptapr#readme", | ||
"dependencies": { | ||
@@ -36,3 +26,5 @@ "core-js": "^3.4.3", | ||
"tiptap-extensions": "^1.28.6", | ||
"vue-awesome": "^4.0.2" | ||
"vue-awesome": "^4.0.2", | ||
"vue-class-component": "^7.0.2", | ||
"vue-property-decorator": "^8.3.0" | ||
}, | ||
@@ -42,15 +34,28 @@ "devDependencies": { | ||
"@babel/preset-env": "^7.7.6", | ||
"@semantic-release/changelog": "^3.0.6", | ||
"@semantic-release/commit-analyzer": "^6.3.3", | ||
"@semantic-release/git": "^7.0.18", | ||
"@vue/cli-plugin-babel": "^4.1.0", | ||
"@vue/cli-plugin-eslint": "^4.1.0", | ||
"@vue/cli-plugin-router": "^4.1.0", | ||
"@vue/cli-service": "^4.1.0", | ||
"@vue/eslint-config-standard": "^4.0.0", | ||
"@rollup/plugin-alias": "^3.0.1", | ||
"@semantic-release/changelog": "^5.0.0", | ||
"@semantic-release/commit-analyzer": "^8.0.1", | ||
"@semantic-release/git": "^9.0.0", | ||
"@types/prosemirror-model": "^1.7.2", | ||
"@types/prosemirror-state": "^1.2.3", | ||
"@types/prosemirror-view": "^1.11.2", | ||
"@typescript-eslint/eslint-plugin": "^2.18.0", | ||
"@typescript-eslint/parser": "^2.18.0", | ||
"@vue/cli-plugin-babel": "~4.2.2", | ||
"@vue/cli-plugin-eslint": "~4.2.2", | ||
"@vue/cli-plugin-router": "~4.2.2", | ||
"@vue/cli-plugin-typescript": "~4.2.2", | ||
"@vue/cli-service": "~4.2.2", | ||
"@vue/eslint-config-standard": "^5.1.0", | ||
"@vue/eslint-config-typescript": "^5.0.1", | ||
"babel-eslint": "^10.0.3", | ||
"babel-loader": "^8.0.6", | ||
"babel-plugin-component": "^1.1.1", | ||
"cssnano": "^4.1.10", | ||
"eslint": "^5.16.0", | ||
"eslint-plugin-vue": "^5.0.0", | ||
"eslint": "^6.7.2", | ||
"eslint-plugin-import": "^2.20.1", | ||
"eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-standard": "^4.0.0", | ||
"eslint-plugin-vue": "^6.1.2", | ||
"lint-staged": "^9.4.3", | ||
@@ -67,5 +72,7 @@ "node-sass": "^4.12.0", | ||
"rollup-plugin-terser": "^5.1.3", | ||
"rollup-plugin-typescript2": "^0.26.0", | ||
"rollup-plugin-vue": "^5.1.4", | ||
"sass-loader": "^8.0.0", | ||
"semantic-release": "^15.13.31", | ||
"semantic-release": "^17.0.4", | ||
"typescript": "~3.7.5", | ||
"vue": "^2.6.10", | ||
@@ -76,7 +83,22 @@ "vue-router": "^3.1.3", | ||
"peerDependencies": { | ||
"vue": "^2.6.0" | ||
"vue": "^2.0.0" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/Leecason/element-tiptap/issues" | ||
}, | ||
"gitHooks": { | ||
"pre-commit": "lint-staged" | ||
}, | ||
"homepage": "https://github.com/Leecason/element-tiptapr#readme", | ||
"jsdelivr": "lib/element-tiptap.js", | ||
"keywords": [ | ||
"editor", | ||
"element", | ||
"element-ui", | ||
"tiptap", | ||
"prosemirror", | ||
"vue.js", | ||
"wysiwyg" | ||
], | ||
"license": "MIT", | ||
"lint-staged": { | ||
@@ -88,10 +110,6 @@ "*.{js,vue}": [ | ||
}, | ||
"files": [ | ||
"lib/*", | ||
"src/*" | ||
], | ||
"main": "lib/element-tiptap.common.js", | ||
"module": "lib/element-tiptap.esm.js", | ||
"unpkg": "lib/element-tiptap.js", | ||
"jsdelivr": "lib/element-tiptap.js" | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Leecason/element-tiptap.git" | ||
} | ||
} |
@@ -13,22 +13,29 @@ <p align="center"><a href="https://github.com/Leecason/element-tiptap" target="_blank" rel="noopener noreferrer"><img src="/examples/assets/logo_for_github.png?raw=true" alt="ElTiptap logo"></a></p> | ||
A WYSIWYG editor based on [tiptap](https://github.com/scrumpy/tiptap) and [element-ui](https://github.com/ElemeFE/element) for Vue2.0. | ||
<p align="center"> | ||
<h3>Element Tiptap Editor</h3> | ||
</p> | ||
## ๐ Translation | ||
A WYSIWYG editor based on [tiptap](https://github.com/scrumpy/tiptap) and [element-ui](https://github.com/ElemeFE/element) for Vue2 | ||
## ๐ Languages | ||
English | [็ฎไฝไธญๆ](./README_ZH.md) | ||
## ๐ Demo | ||
![ScreenShot](/examples/assets/screenshot.png?raw=true) | ||
[Live Demo](https://leecason.github.io/element-tiptap) | ||
๐[https://leecason.github.io/element-tiptap](https://leecason.github.io/element-tiptap) | ||
## โจ Features | ||
- use [element-ui](https://github.com/ElemeFE/element) components | ||
- many [native extensions](https://github.com/Leecason/element-tiptap#extensions) can be used directly | ||
- markdown support | ||
- i18n support(`en`, `zh`). welcome to contribute more languages | ||
- events you might use: `init`, `transaction`, `focus`, `blur`, `paste`, `drop`, `update` | ||
- fully extensible, you can customize extension with [tiptap](https://github.com/scrumpy/tiptap) and [Prosemirror](https://github.com/ProseMirror/prosemirror). | ||
- customize all extension menu button view | ||
- menu buttons can render in menubar and bubble menu | ||
- ๐จUse [element-ui](https://github.com/ElemeFE/element) components | ||
- ๐ Many [native extensions](https://github.com/Leecason/element-tiptap#extensions) can be used directly | ||
- ๐Markdown support | ||
- โ TypeScript support | ||
- ๐I18n support(`en`, `zh`, `pl`). welcome to contribute more languages | ||
- ๐Events you might use: `init`, `transaction`, `focus`, `blur`, `paste`, `drop`, `update` | ||
- ๐Fully extensible, you can customize extension with [tiptap](https://github.com/scrumpy/tiptap) and [Prosemirror](https://github.com/ProseMirror/prosemirror) | ||
- ๐Customize all extension menu button view | ||
- ๐ญMenu buttons can render in menubar and bubble menu | ||
@@ -49,3 +56,3 @@ ## ๐ฆ Installation | ||
Then install `element-tiptap` plugin. | ||
#### Install plugin | ||
@@ -57,6 +64,27 @@ ```js | ||
Vue.use(ElementTiptapPlugin); | ||
// Now you register `'el-tiptap'` component globally. | ||
``` | ||
Now you globally register `'el-tiptap'` component. | ||
Or | ||
#### Partial import | ||
```vue | ||
<template> | ||
<div> | ||
<el-tiptap ...><el-tiptap> | ||
</div> | ||
</template> | ||
<script> | ||
import { ElementTiptap } from 'element-tiptap'; | ||
export default { | ||
components: { | ||
[ElementTiptap.name]: ElementTiptap, | ||
}, | ||
}; | ||
</script> | ||
``` | ||
### CDN | ||
@@ -86,3 +114,3 @@ | ||
Available languages: `en`(default), `zh`. | ||
Available languages: `en`(default), `zh`, `pl`. | ||
@@ -353,6 +381,3 @@ Welcome contribution. | ||
## ๐ช Roadmap | ||
- TypeScript | ||
## ๐ License | ||
[MIT](https://github.com/Leecason/element-tiptap/blob/master/LICENSE) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
66
379
8
1843578
8
47
23007
4
46
+ Addedvue-class-component@^7.0.2
+ Addedvue-class-component@7.2.6(transitive)
+ Addedvue-property-decorator@8.5.1(transitive)