vue3-summernote-editor

A vuejs 3 component for Summernote library
28,699 20
Install
npm install vue3-summernote-editor
Latest Version:1.0.2
License:Custom
Last Updated:Jun 14, 2023
Links: GitHub  ·  npm
Maintainer: rafwell

Vue3 Summernote Editor

A VueJs 3 component for use Summernote WYSIWYG

Install

// npm install
npm install vue3-summernote-editor --save

You must be have jQuery at window.$ and install summernote by yourself.

Use as component

  1. import as global component.
// import SummernoteEditor
import SummernoteEditor from 'vue3-summernote-editor';


const vueApp = createApp({});
vueApp.component('SummernoteEditor', SummernoteEditor);

  1. import into a single component.
// import SummernoteEditor
import SummernoteEditor from 'vue3-summernote-editor';

<template>
  <SummernoteEditor
      v-model="myValue"
      @update:modelValue="summernoteChange($event)"
      @summernoteImageLinkInsert="summernoteImageLinkInsert"
    />
</template>
<script>
export default {
    // declare SummernoteEditor
    components: {SummernoteEditor},
    data() {
        return {
            myValue: '',
        }
    },
    methods: {
       summernoteChange(newValue) {
          console.log("summernoteChange", newValue);
       },
        summernoteImageLinkInsert(...args) {
          console.log("summernoteImageLinkInsert()", args);
       },
    }
}
</script>

Options

  • options: option[]
    • configurable settings, see Summernote options
    • you can define a global options on a window.SUMMERNOTE_DEFAULT_CONFIGS

Events

  • update:modelValue
    • triggered when summernote value change
  • summernote bare events
    • summernote events will be triggered in camelCase
    • "summernote.change": "summernoteChange"
    • "summernote.image.link.insert": "summernoteImageLinkInsert"

Related Packages

summernote-editor-vue3

A vuejs 3 component for Summernote library

745 1
r2-summer-note-vue3

Pacote Summer Not para Vue3

710 0
fresh-tap

A configurable wysiwyg editor built on top of the Tip Tap Editor.

863
@enso-ui/wysiwyg

TinyMCE-based WYSIWYG field for Enso UI.

9,814 0
vue-summernote

A Vue integration summernote rich text plugin

5,106 22

Version History

Version Released License
1.0.2 Custom
1.0.1 Custom
1.0.0 Custom