vue-pdf-embed icon indicating copy to clipboard operation
vue-pdf-embed copied to clipboard

images/cursor-editorInk.svg Image loading failed

Open wangxiaoze-view opened this issue 1 year ago • 0 comments

I used the webpack project to introduce the plug-in, but when I introduced the css, I found an error, saying that there were image resources introduced in the css, but no related images were found in the root directory;

But there is no related problem in vite, the versions are consistent and I don’t know what caused the problem;

I copied the css in the node_modules plugin and found this problem

--editorInk-editing-cursor: url(images/cursor-editorInk.svg) 0 16, pointer;
  --editorHighlight-editing-cursor: url(images/cursor-editorTextHighlight.svg) 24 24, text;
  --editorFreeHighlight-editing-cursor: url(images/cursor-editorFreeHighlight.svg) 1 18, pointer

image

But after I commented these out, there is no error. The page style is also displayed correctly. I am not sure if these comments will have any effect later?

wangxiaoze-view avatar Jul 04 '24 08:07 wangxiaoze-view