Improve multi element indentation (#1982)

* Improve multi element indentation

* Remove bad UT

* Remove bad UT

* Add e2e test

* Address feedback
This commit is contained in:
Dominic Gannaway
2022-04-26 04:41:22 +01:00
committed by GitHub
parent 687c3a5c5c
commit c963cfa896
22 changed files with 1485 additions and 74 deletions

View File

@ -28,7 +28,7 @@ declare export class CodeNode extends ElementNode {
insertNewAfter(
selection: RangeSelection,
): null | ParagraphNode | CodeHighlightNode;
canInsertTab(): true;
canInsertTab(): boolean;
collapseAtStart(): true;
setLanguage(language: string): void;
getLanguage(): string | void;