mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-23 00:27:49 +08:00
8 lines
210 B
Markdown
8 lines
210 B
Markdown
# newlineInCode
|
|
`newlineInCode` inserts a new line in the current code block. If a selection is set, the selection will be replaced with a newline character.
|
|
|
|
## Usage
|
|
```js
|
|
editor.commands.newlineInCode()
|
|
```
|