如何在angular中使用html编辑器输入
我想在我的角度项目中使用html编辑器。但输出的段落为“p”,选择粗体时,输出为“b”(参见图片)。如何正确使用html编辑器如何在angular中使用html编辑器输入,html,angular,text-editor,Html,Angular,Text Editor,我想在我的角度项目中使用html编辑器。但输出的段落为“p”,选择粗体时,输出为“b”(参见图片)。如何正确使用html编辑器 {{“消息”|本地化} <div class="form-group"> <label>{{"Message" | localize}}</label> <p-editor [(Model)]="htmlEditorInput" [(ng
{{“消息”|本地化}
<div class="form-group">
<label>{{"Message" | localize}}</label>
<p-editor [(Model)]="htmlEditorInput" [(ngModel)]="conversation.conversationMessage" name="HtmlEditorInput" [style]="{'height':'150px'}" placeholder="Type message..."></p-editor>
</div>