@wangeditor/plugin-ctrl-enter
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

wangEditor 插件 - ctrl+enter 换行

English documentation

介绍

wangEditor 中使用 ctrl+entercmd+enter 换行。

安装

yarn add @wangeditor/plugin-ctrl-enter

使用

要在创建编辑器之前注册,且只能注册一次,不可重复注册。

import { Boot } from '@wangeditor/editor'
import ctrlEnterModule from '@wangeditor/plugin-ctrl-enter'

Boot.registerModule(ctrlEnterModule)

// Then create editor and toolbar

/@wangeditor/plugin-ctrl-enter/

    Package Sidebar

    Install

    npm i @wangeditor/plugin-ctrl-enter

    Weekly Downloads

    34

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    22.3 kB

    Total Files

    30

    Last publish

    Collaborators

    • wangfupeng1988