dragonEditor

stars-src forks-src language-src hits-src issues-src npm-version-src npm-downloads-src NPM

DragonEditor

I just made the DragonEditor because I needed the WYSIWYG Editor to write on my blog.

This module support Nuxt3 only.

Dependencies

Install

mpm i dragon-edtior
# or
yarn add dragon-editor
# or
bun add dragon-editor

Using

First. Set module

export default defineNuxtConfig({
    modules: ["dragon-editor"],
});

Second. Use Component

<template>
    <div class="editor-area">
        <ClientOnly>
            <DragonEditor ref="$editor" />
        </ClientOnly>
    </div>
</template>

<script setup lang="ts">
const $editor = ref<any>();
</script>

Done!