Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/87.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在angular中使用html编辑器输入_Html_Angular_Text Editor - Fatal编程技术网

如何在angular中使用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

我想在我的角度项目中使用html编辑器。但输出的段落为“p”,选择粗体时,输出为“b”(参见图片)。如何正确使用html编辑器


{{“消息”|本地化}
<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>