Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kindeditor-vue

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kindeditor-vue

A Vue.js project

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

kindeditor-vue

对kindeditor富文本编辑器进行封装

安装

#npm 安装
npm i kindeditor-vue --save -D

使用方法

demo:

    <Editor @getHtml="getHtml" >
      <button id="getHtml"  slot="getHtml">获取html</button>
      <button slot="clear">清空</button>
    </Editor>

params:

事件名content
getHtml获取html代码返回获取值x: getHtml(x)
isEmpty判断是不是空boolean
getText获取文本返回获取值x: getText(x)
clear清空无需调用,启用button即可

图片上传

  #url 图片上传地址
  <Editor :url="'http://localhost:8080'"></Editor>

Keywords

FAQs

Package last updated on 25 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc