PicGo / picgo-plugin-autocopy

A picgo plugin for auto copying url to clipboard after uploading
MIT License
9 stars 2 forks source link

can't change customLink #1

Open Higurashi-kagome opened 4 years ago

Higurashi-kagome commented 4 years ago

It will recover after I change the content of customLink. For example, the default situation is: tempate:URL cunstomLink:$url and I try to change it to: tempate:URL cunstomLink:

but it doesn't work. it will recover to: tempate:URL cunstomLink:$url again. Is the fault of my setting way?

Higurashi-kagome commented 4 years ago

tempate:URL cunstomLink:<div align=center><img src="$url" alt="" style="zoom: 80%;" /></div>

Molunerfinn commented 4 years ago

you have to change template: Custom

Higurashi-kagome commented 4 years ago

it seems to be the same.And I tried the other choice of template.

Molunerfinn commented 4 years ago

image image

I see. If you set the config it will write to the config file but will display default value when you next time use picgo set.

image

Although the default values ​​are shown, your configuration file has actually been modified

It will be fixed in the next version.

Higurashi-kagome commented 4 years ago

image yes,the config file is changed,but it seems that you can get the content you really want. I can't get it now althought the config file is changed,so maybe there is anthoer problem.

Higurashi-kagome commented 4 years ago

And I am configing it by GUI.

Molunerfinn commented 4 years ago

emmmmmmmm, you don't need to install this plugin in GUI, since the GUI version of PicGo has already built this feature. And this plugin is for CLI only...

Molunerfinn commented 4 years ago

image image

Molunerfinn commented 4 years ago

image

Molunerfinn commented 4 years ago

So if you are using the GUI version, please uninstall this plugin.

Higurashi-kagome commented 4 years ago

I see,you are right! But I find that I can only get the content by upload it through GUI,when I try to upload pricture by rightclick,it will not work: image

Higurashi-kagome commented 4 years ago

actually,it also failed by clicking this button: image