Skip to content
Snippets Groups Projects
Commit 7a099d82 authored by rhenck's avatar rhenck
Browse files

Add blockquote support to cloze

parent 56540062
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,11 @@ import { FormElementComponent } from '../../directives/form-element-component.di
[ngTemplateOutletContext]="{ $implicit: listItemPart }"></ng-container>
</li>
</ol>
<blockquote *ngIf="part.type === 'blockquote'">
<ng-container *ngFor="let blockquotePart of $any(part).content"
[ngTemplateOutlet]="paragraphs"
[ngTemplateOutletContext]="{ $implicit: blockquotePart }"></ng-container>
</blockquote>
<ng-container *ngIf="part.type !== 'bulletList'"
[ngTemplateOutlet]="paragraphs"
[ngTemplateOutletContext]="{ $implicit: part }"></ng-container>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment