Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 542 Bytes

README-en.md

File metadata and controls

26 lines (16 loc) · 542 Bytes

wangEditor plugin - ctrl+enter insertBreak

中文文档

Introduction

Use ctrl+enter or cmd+enter to insertBreak in wangEditor.

Installation

yarn add @wangeditor/plugin-ctrl-enter

Usage

You should register plugin before create editor, and register only once (not repeatedly).

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

Boot.registerModule(ctrlEnterModule)

// Then create editor and toolbar