|
@@ -48,7 +48,7 @@ export const useAutoPaste = () => {
|
|
|
console.log(val);
|
|
|
if (isSvgString(val)) {
|
|
|
const url = await resourceHandler(val, "svg");
|
|
|
- drawAPI.addShape("icon", { url, stroke: themeColor, fill: null }, pos, true);
|
|
|
+ drawAPI.addShape("icon", { url, stroke: '#000000', fill: null }, pos, true);
|
|
|
} else {
|
|
|
drawAPI.addShape("text", { content: val }, pos, true);
|
|
|
}
|
|
@@ -59,7 +59,7 @@ export const useAutoPaste = () => {
|
|
|
async handler(pos, val, type) {
|
|
|
const url = await resourceHandler(val, type);
|
|
|
if (type.includes("svg")) {
|
|
|
- drawAPI.addShape("icon", { url, stroke: themeColor, fill: null }, pos, true);
|
|
|
+ drawAPI.addShape("icon", { url, stroke: '#000000', fill: null }, pos, true);
|
|
|
} else {
|
|
|
const image = await getImage(url);
|
|
|
drawAPI.addShape(
|