More Premium Hugo Themes Premium Vue Themes

Vueditor

A wysiwyg editor written in Vue.js and Vuex.js

Vueditor

A wysiwyg editor written in Vue.js and Vuex.js

Author Avatar Theme by hifarer
Github Stars Github Stars: 643
Last Commit Last Commit: Jul 8, 2021 -
First Commit Created: Aug 27, 2024 -
default image

Overview

Vueditor is a wysiwyg editor written in Vue.js and Vuex.js, primarily designed for Vue.js 2.0.0 and above. It offers a customizable, lightweight solution with minimal dependencies and supports popular browsers like Chrome, Firefox, Safari, and IE 9+.

Features

  • Customizable: Easily tailor the editor to suit your needs.
  • Light weighted: Lightweight solution with minimal dependencies.
  • Plugin support: Allows for easy integration of additional plugins.

Installation

  1. For script tag usage, download the latest release package.
  2. Add ‘vueditor.min.js’ and ‘vueditor.min.css’ to your webpage.
  3. Use Vue.use(Vueditor, config) to initialize.
  4. Usage scenarios include single editor requirement or multiple editors sharing the same config.
  5. To get and set content, access the Vueditor component using $children[index] or ref.
  6. For multiple editors, use createEditor(selector, config) with specific configurations.
  7. Configure file upload by setting the ‘uploadUrl’ attribute in the config.
  8. Customize the language setting by translating the default language or importing a different language object in the config.

Summary

Vueditor is a versatile wysiwyg editor for Vue.js and Vuex.js, offering customization, lightweight implementation, and plugin support. However, due to lack of maintenance and unresolved bugs, caution is advised when considering use in a production environment.