Error with placeholders
edited May 2020 in Style Development [?]
Here's My codehttps://pastebin.com/b9hxkKyZ
I keep getting that error
1 error prohibited this style from being saved
There were problems with the following fields:
- Style code has an error - parse error on value ";" (SEMI) on line 3 around "[color]]*/;
--tpcolor:". If you need help, post a new discussion at https://forum.userstyles.org/post/discussion/5 .
and I have no idea why is that, anybody has any idea?
I used "Color Setting" and I set the place holder as it is in it's place (/*[[color]]*/ ) without the brackets.
if you are like me and you are looking for the answer then what you have to do is to place a placeholder in the CSS ( e.g. /*[[color]]*/) and in the install key box you should ignore the slashes ( / & \ ), stars( * ) and the brackets ( [ & ] ). so for my example you type only "color".
IDK if this is my fault but this was not demonstrated in the instructions, and for amateur like myself this isn't common sense