【发布时间】:2019-01-31 08:45:39
【问题描述】:
我在 Angular 项目中使用的 primeng 文本编辑器中看不到按钮的图标。 enter image description here
我添加到模块:import { EditorModule } from 'primeng/editor';
在下面的 HTML 中:
<p-editor class="fa fa-xxx" [(ngModel)]="text1" [style]="{'height':'320px'}"></p-editor>
<p>Value: {{text1||'empty'}}</p>
<button pButton type="button" label="Clear" icon="fa-close" (click)="text1=null"></button>
<hr style="border-top:0px;border-color:#dde3e6">
【问题讨论】: