
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@matrajs/vue
Advanced tools
Vue 3 bindings for Matra — useEditor, useEditorState, useEditorFocus and EditorContent.
Vue 3 bindings for Matra: useEditor, useEditorState, useEditorFocus and
EditorContent.
npm i @matrajs/core @matrajs/vue
<script setup lang="ts">
import { starterKit } from '@matrajs/core'
import { EditorContent, useEditor, useEditorState } from '@matrajs/vue'
const editor = useEditor({ extensions: starterKit, content: '<p>Hello</p>' })
const isBold = useEditorState(editor, (e) => e.getHTML().includes('<strong>'))
</script>
<template>
<button :aria-pressed="isBold" @mousedown.prevent="editor.commands.toggleBold()">
Bold
</button>
<EditorContent :editor="editor" />
</template>
The editor is markRaw-ed on purpose: it is a mutable object with its own
change events, and putting it in Vue's reactivity graph would trace every
document node on every keystroke. Read from it with useEditorState.
MIT.
FAQs
Vue 3 bindings for Matra — useEditor, useEditorState, useEditorFocus and EditorContent.
The npm package @matrajs/vue receives a total of 45 weekly downloads. As such, @matrajs/vue popularity was classified as not popular.
We found that @matrajs/vue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.