项目

tiptap exitCode 命令

当所选区域是 code 元素时,exitCode 命令会在当前选区后自动生成一个默认区块,并将光标移动到新的区块中。

使用方法

editor.commands.exitCode();
在本文档中