# 用于 Vue
如果需要將 wangEditor 用于 Vue 中,可參見如下示例
- 下載源碼 `git clone git@github.com:wangfupeng1988/wangEditor.git`
- 進入 vue 示例目錄 `cd wangEditor/example/demo/in-vue/`,查看`src/components/Editor.vue`即可
- 也可以運行`npm install && npm run dev`查看在 vue 中的效果(`http://localhost:8080/`)
- 介紹
- 開始使用
- 創建一個編輯器
- 使用JS模塊定義
- 菜單和編輯區域分離
- 單頁面多個編輯器
- 禁用編輯器
- 內容處理
- 設置內容
- 獲取內容
- 使用textarea
- 獲取JSON
- 參數配置
- 配置菜單
- debug模式
- onchange
- 配置編輯區域z-index
- 多語言
- 粘貼文本
- 插入網絡圖片回調
- 插入鏈接的校驗
- 插入網絡圖片的校驗
- onfocus
- onblur
- 配置顏色
- 配置表情
- 配置字體
- 上傳圖片
- tab顯示和隱藏
- base64格式保存圖片
- 上傳圖片到服務器
- 上傳到七牛云存儲
- 其他
- 全屏-預覽-查看源碼
- 上傳附件
- 關于markdown
- xss攻擊
- 用于React
- 用于Vue
- 用于angular
- 常用API