@abhinavakhil/penna-vue
Vue 3 bindings for @abhinavakhil/penna-core
307
| Install | |
|---|---|
npm install @abhinavakhil/penna-vue |
|
| Latest Version: | 0.2.0 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Sep 25, 2026 |
| Links: | GitHub · npm |
Maintainer: abhinavakhil
@abhinavakhil/penna-vue
Vue 3 bindings for the Penna editor.
npm i @abhinavakhil/penna-vue @abhinavakhil/penna-core
<script setup>
import { ref } from 'vue'
import { Penna, PennaContent } from '@abhinavakhil/penna-vue'
import '@abhinavakhil/penna-core/penna.css'
const html = ref('<p>Hello</p>')
</script>
<template>
<Penna v-model="html" placeholder="Write…" theme="auto" dir="ltr" :options="{ extensions: [] }" />
<PennaContent :html="html" />
</template>
format="markdown" or format="json" changes what v-model holds. readonly, theme and dir update live. Events: change, ready, focus, blur.
MIT
Related Packages
@cocoar/vue-markdown-editor
WYSIWYG Markdown editor for Vue 3 based on Milkdown, with Cocoar Design System s...
8,408
0
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.2.0 | >=3.3 | MIT | |
| 0.1.0 | >=3.3 | MIT |