feat(content-management): use rich HTML editor for static page content

This commit is contained in:
sdarbinyan
2026-07-13 10:44:47 +04:00
parent dc8c2eac91
commit 646a68e9fd
2 changed files with 6 additions and 2 deletions

View File

@@ -42,7 +42,10 @@
</label>
<label class="full">
<span>{{ 'builder.htmlPreview' | translate }} {{ locale }}</span>
<textarea rows="6" [ngModel]="page.translations[locale]?.html || ''" (ngModelChange)="updateTranslation(page.id, locale, 'html', $event)"></textarea>
<app-marketplace-html-editor
[html]="page.translations[locale]?.html || ''"
(htmlChange)="updateTranslation(page.id, locale, 'html', $event)"
/>
</label>
</div>
}