Skip to content

Commit

Permalink
core(lib): Update readme and package version
Browse files Browse the repository at this point in the history
  • Loading branch information
thooams committed Oct 12, 2024
1 parent e2e4ca1 commit 3255c04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. (<https://twitframe.com> 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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -180,7 +181,6 @@ var editor = EditorJS({
| height | `number` | embedded content height
| caption | `string` | content caption


```json
{
"type" : "embed",
Expand Down
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@editorjs/embed",
"version": "2.7.6",
"version": "2.8.0",
"keywords": [
"codex editor",
"embed",
Expand All @@ -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"
Expand Down Expand Up @@ -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": {}
}

0 comments on commit 3255c04

Please sign in to comment.