Trên GitHub, nhn/toast-ui.vue-editor đã đạt 228 sao, nhóm Frontend, ngôn ngữ JavaScript. This repository is DEPRECATED! GO TO 👉 https://github.com/nhn/tui.editor/tree/master/apps/vue-editor
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
TOAST UI Editor Vue Wrapper has been managed separately from the TOAST UI Editor repository. As a result of the distribution of these issues, we decided to deprecated each wrapper repository and manage repository as a mono-repo from the TOAST UI Editor repository.
From now on, please submit issues or contributings related to TOAST UI React Wrapper to TOAST UI Editor repository. Thank you🙂.
TOAST UI Editor for Vue
This is Vue component wrapping TOAST UI Editor.
🚩 Table of Contents
Collect statistics on the use of open source
Install
Using npm
Editor Usage
Load
Implement
Using v-model
Props
Event
Method
Viewer Usage
Load
Implement
Props
Event
Pull Request Steps
Documents
Contributing
License
Collect statistics on the use of open source
Vue Wrapper of TOAST UI Editor applies Google Analytics (GA) to collect statistics on the use of open source, in order to identify how widely TOAST UI Editor is used throughout the world. It also serves as important index to determine the future course of projects. location.hostname (e.g. > “ui.toast.com") is to be collected and the sole purpose is nothing but to measure statistics on the usage. To disable GA, use the following usageStatistics options when declare Vue Wrapper compoent.
var options = {
...
usageStatistics: false
}
Or, include include tui-code-snippet.js (v1.4.0 or later) and then immediately write the options as follows:
tui.usageStatistics = false;
💾 Install
Using npm
npm install --save @toast-ui/vue-editor
📝 Editor Usage
Load
You can use Toast UI Editor for Vue as moudule format or namespace. Also you can use Single File Component (SFC of Vue). When using module format and SFC, you should load tui-editor.css, tui-editor-contents.css and codemirror.css in the script.
If you want to more manipulate the Editor, you can use invoke method to call the method of tui.editor. For more information of method, see method of tui.editor.
First, you need to assign ref attribute of <editor/> and then you can use invoke method through this.$refs like this:
import 'tui-editor/dist/tui-editor-contents.css';
import 'highlight.js/styles/github.css';
import { Viewer } from '@toast-ui/vue-editor'
Using Commonjs module
require('tui-editor/dist/tui-editor-contents.css');
require('highlight.js/styles/github.css');
var toastui = require('@toast-ui/vue-editor');
var Viewer = toastui.Viewer;
Using Single File Component
import 'tui-editor/dist/tui-editor-contents.css';
import 'highlight.js/styles/github.css';
import Viewer from '@toast-ui/vue-editor/src/Viewer.vue'
Using namespace
var Viewer = toastui.Viewer;
Implement
First implement <viewer/> in the template.
<template>
<viewer/>
</template>
And then add Viewer to the components in your component or Vue instance like this:
TOAST UI products are open source, so you can create a pull request(PR) after you fix issues.
Run npm scripts and develop yourself with the following process.
Setup
Fork develop branch into your personal repository.
Clone it to local computer. Install node modules.
Before starting development, you should check to haveany errors.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/nhn/toast-ui.vue-editor là nguồn chính thức.
nhn/toast-ui.vue-editor có những chủ đề gì?
GitHub topics của nhn/toast-ui.vue-editor: "editor", "vue". TopGit xếp repo vào nhóm Frontend.
nhn/toast-ui.vue-editor có phải mã nguồn mở không?
Có — nhn/toast-ui.vue-editor phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/nhn/toast-ui.vue-editor.
nhn/toast-ui.vue-editor có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho nhn/toast-ui.vue-editor. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
nhn/toast-ui.vue-editor còn đang phát triển không?
Commit gần nhất trên nhn/toast-ui.vue-editor là 6.6 năm trước (theo timestamp GitHub). Repo có 47 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
nhn/toast-ui.vue-editor dùng license gì?
nhn/toast-ui.vue-editor phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về toast-ui.vue-editor?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về toast-ui.vue-editor.