feature(core): add exit handling for marks (#2925)

* feat(core): add exit handling for marks

* docs(core): add information about exitable marks
This commit is contained in:
Dominik
2022-08-22 15:23:44 +02:00
committed by GitHub
parent f558417a25
commit 5fed0f2fc6
4 changed files with 65 additions and 4 deletions

View File

@@ -44,6 +44,8 @@ export const Code = Mark.create<CodeOptions>({
code: true,
exitable: true,
parseHTML() {
return [
{ tag: 'code' },