Skip to content

jakeoverall/quickvue-editorjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-editorjs

<template>
  <div>
    <editor 
      :exclude="excludedTools" 
      :config="{ ...config, ...customTools }" 
      :init-data="" 
      holder-id="" 
      ref="editor"
      autofocus
      @change=""
      @ready=""
    />
  </div>
</template>

<script>
export default {
  name: ""
  data() {
    return {
      excludedTools: ["header", "marker"],
      config: {
        image:{
          // OVERRIDE DEFAULT CONFIG HERE IF NOT A CUSTOM TOOL
        }
      },
      cutomTools:{
        audio:{
          class: AudioEditor, // REQUIRED FOR ALL CUSTOM TOOLS
          config: {
            // YOUR CONFIG HERE
          }
        }
      }
    }
  },
  methods:{
    async save(){
      let data = await this.$refs.editor.save()
    }
  }
}
</script>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published