New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@kyfe/ks-editor

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kyfe/ks-editor - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "@kyfe/ks-editor",
"version": "1.0.3",
"version": "1.0.4",
"description": "移动端富文本编辑器",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -0,2 +1,14 @@

* 安装
```
npm i @kyfe/ks-editor
```
* 在项目中引入
```js
import ksEditor from '@kyfe/ks-editor'
Vue.use(ksEditor)
```
* 使用示例

@@ -22,2 +34,3 @@

```
* 参数说明

@@ -27,6 +40,15 @@

| - | - | - |
|editorConfig|快捷工具栏配置|必填|
|audioDetail|语音信息|非必填|
|editorConfig|快捷工具栏配置|必填|
|tag|同一个页面初始化多个ks-editor时区分使用|非必填|
* 事件
|事件名|说明|
| - | - |
|audioChange|监听语音回调事件|
|focus|监听聚焦事件|
|blur|监听失去焦点事件|
|input|监听输入事件|
* 语音信息数据结构 `audioDetail`

@@ -78,3 +100,3 @@

colorPops: [
// blacke
// black
'#333333',

@@ -87,2 +109,7 @@ // red,

},
{
key: 'emoji',
label: '表情',
iconUrl: 'emoji.png',
},
// 以上为内置选项,如需自定义功能请使用formatter

@@ -89,0 +116,0 @@ {

Sorry, the diff of this file is too big to display

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