
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
vue-editor-js
Advanced tools
[](https://wallabyjs.com/oss/)
vue-editor-js is editorjs wrapper component.
Please see this first. https://editorjs.io/
This plugins is turned to be just wrapper component. If you need to use plugin for editor.js, just import and set to config property.
Please See the Demo.vue
Please Vue.use
vue-editor-js in main.js.
npm install --save vue-editor-js
# or Yarn
yarn add vue-editor-js
// In main.js
// ...
import Editor from 'vue-editor-js'
Vue.use(Editor)
// ...
// on Nuxt.js
// in nuxt.config.js
plugins: [
{
src: '~/plugins/vue-editor.js', ssr: false
}
],
// in ~/plugins/vue-editor.js
import Vue from 'vue'
import Editor from 'vue-editor-js'
Vue.use(Editor)
<editor ref="editor" :config="config" :initialized="onInitialized"/>
define initialize Function for get instance of editor.js when initialized
If you confused using on Nuxt, please see here
You can import Editor only in components where you need it.
@vue/composition-api
npm i --save @vue/composition-api
#or Yarn
yarn add @vue/composition-api
import Vue from 'vue'
import VueCompositionApi from '@vue/composition-api'
Vue.use(VueCompositionApi)
'vue-editor-js'
in main.jsimport { Editor } from 'vue-editor-js'
export default {
// ...
components: {
Editor,
},
// ...
}
Same as in Supported Plugins, but with different naming
<editor header list code ... :config="config"/>
for upload image, You need a backend for processing image. vue-editor-js provide special config
props for easy.
If you server for test upload image, please see server example.
<editor :config="config" />
<script>
...
data() {
return {
config: {
image: {
// Like in https://github.com/editor-js/image#config-params
endpoints: {
byFile: 'http://localhost:8090/image',
byUrl: 'http://localhost:8090/image-by-url',
},
field: 'image',
types: 'image/*',
},
}
}
}
</script>
config: {
personality: {
endpoints: 'http://localhost:8090/image'
}
Enjoy editorjs with Vue.js Project :tada:
OR
This repository contributors are welcome to use Wallaby.js OSS License to get test results immediately as you type, and see the results in your editor right next to your code.
FAQs
[](https://wallabyjs.com/oss/)
The npm package vue-editor-js receives a total of 276 weekly downloads. As such, vue-editor-js popularity was classified as not popular.
We found that vue-editor-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.