From 3255c04cd3528ebdddb01f207b3b44cfe7f6a05d Mon Sep 17 00:00:00 2001 From: Thomas HUMMEL Date: Fri, 19 Jul 2024 10:29:08 +0200 Subject: [PATCH] core(lib): Update readme and package version --- README.md | 8 ++++---- package.json | 11 ++++------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 650acb97..dfc57583 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Tool uses Editor.js pasted patterns handling and inserts iframe with embedded co - [Facebook](https://www.facebook.com) - `facebook` service - [Instagram](https://www.instagram.com/codex_team/) - `instagram` service - [YouTube](https://youtube.com) - `youtube` service -- [Twitter](https://twitter.com) - `twitter` service. (official twitter api is used for render, no need to use twitframe) +- [Twitter](https://twitter.com/codex_team) - `twitter` service. ( used for render) - [Twitch](https://twitch.tv) - `twitch-video` service for videos and `twitch-channel` for channels - [Miro](https://miro.com) - `miro` service - [Vimeo](https://vimeo.com) — `vimeo` service @@ -25,10 +25,10 @@ Tool uses Editor.js pasted patterns handling and inserts iframe with embedded co - [CodePen](https://codepen.io) — `codepen` service - [Pinterest](https://www.pinterest.com) - `pinterest` service - [GitHub Gist](https://gist.github.com) - `github` service +- [Figma](https://www.figma.com/) - `figma` service +- [Whimsical](https://whimsical.com/) - whimsical service - 👇 Any other [customized service](#add-more-services) - - ## Installation Get the package @@ -151,6 +151,7 @@ var editor = EditorJS({ ``` #### Inline Toolbar + Editor.js provides useful inline toolbar. You can allow it\`s usage in the Embed Tool caption by providing `inlineToolbar: true`. ```javascript @@ -180,7 +181,6 @@ var editor = EditorJS({ | height | `number` | embedded content height | caption | `string` | content caption - ```json { "type" : "embed", diff --git a/package.json b/package.json index c1087c17..21fe2f53 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@editorjs/embed", - "version": "2.7.6", + "version": "2.8.0", "keywords": [ "codex editor", "embed", @@ -25,7 +25,7 @@ "scripts": { "dev": "vite", "build": "vite build", - "test": "mocha --require ts-node/register --require ignore-styles --recursive './test/**/*.ts'", + "test": "mocha -r @babel/register -r ignore-styles --recursive ./test", "lint": "eslint src/ --ext .js", "lint:errors": "eslint src/ --ext .js --quiet", "lint:fix": "eslint src/ --ext .js --fix" @@ -54,10 +54,7 @@ "ts-node": "^10.9.2", "typescript": "^5.4.5", "vite": "^4.5.0", - "vite-plugin-css-injected-by-js": "^3.3.0", - "vite-plugin-dts": "^3.9.1" + "vite-plugin-css-injected-by-js": "^3.3.0" }, - "dependencies": { - "@editorjs/editorjs": "^2.29.1" - } + "dependencies": {} }