Warm tip: This article is reproduced from serverfault.com, please click

Displaying Black Triangle When I Use Page Break or Horizontal Line in CKeditor5

发布于 2020-11-11 03:08:03

The black triangle display when I using Page Break or Horizontal Line. Actually my problem is same with this and this which is displaying an black triangle when try to display an HTML code from CKEditor5 after I save into database. The solution is change some config in angular.json but I not using Angular, I using Codeigniter, AdminLTE and CKEditor5 from builder.

Questioner
DV Corps
Viewed
0
jpeace 2020-12-31 16:00:17

I solved this problem with script:

const blackTriangles = document.querySelectorAll('.ck.ck-reset_all.ck-widget__type-around');
blackTriangles.forEach(item => { item.remove() });