Minggu, 17 Maret 2019

vue + quill - icons are shown as text (caused by file-loader)

For some reason, my custom icons are shown as plain text and I am unable to recreate it in codesandbox https://codesandbox.io/s/72qqjm371x

enter image description here

Has anyone encountered this problem before and solved it?

It's currently displaying it as "img/redo.01da1a6f.svg" instead of


<svg viewbox="0 0 18 18"> <polygon class="ql-fill ql-stroke" points="12 10 14 12 16 10 12 10"></polygon> <path class="ql-stroke" d="M9.91,13.91A4.6,4.6,0,0,1,9,14a5,5,0,1,1,5-5"></path> </svg>

Update

I believe this is caused by file-loader, but I am unsure how to configure to use html-loader instead, so that it returns it as html instead of as a file



from vue + quill - icons are shown as text (caused by file-loader)

vue + quill - icons are shown as text (caused by file-loader) Rating: 4.5 Diposkan Oleh: Admin

0 komentar:

Posting Komentar

Popular Posts