vue + quill - 图标显示为文本(由文件加载器引起)

问题描述 投票:3回答:3

更新以显示复制问题

SVG正在通过文件加载器导入,我无法使用raw-loaderhtml-loaderhttps://codesandbox.io/s/llr8x89j47

enter image description here

它目前显示为“img / redo.01da1a6f.svg”而不是

<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>

我目前最有希望的答案无法解决这个问题。

javascript vue.js vuejs2 quill
3个回答
© www.soinside.com 2019 - 2024. All rights reserved.