Hello,

Most of the core icons have no type defined (image/svg+xml) AND lacks a
xmlns declaration (<svg xmlns="http://www.w3.org/2000/svg"; ...)

guess it would fix this...

*Sylvain*

*@sycom*

On Mon, Nov 4, 2019 at 1:27 PM Hubert <[email protected]> wrote:

> Thank you! It works. However, when I tried to reference one of the
> built-in icons, it didn't:
>
> {background: url("<<datauri "$:/core/images/chevron-right">>") no-repeat
> top left;}
>
> Is there anything else that I'd need to modify? Removing the datauri part
> had no effect.
>
> Thanks in advance,
> Hubert
>
> On Wednesday, 30 October 2019 22:44:39 UTC, Magnus wrote:
>>
>> Yes you are correct, I was lazy and just copied from my stylesheet in
>> view mode. In edit mode it is
>>
>> .tc-tiddler-body h1:nth-child(1) {background: url("<<datauri
>> "image/location.svg">>") no-repeat top left;}
>>
>> Sorry for the confusion
>>
>> Den onsdag 30 oktober 2019 kl. 23:37:14 UTC+1 skrev Sycom:
>>>
>>> Hello Hubert,
>>>
>>> I think Magnus is using an urlencoded version of the svg. You can have
>>> it with <$view tiddler="your_tiddler” format="urlencoded" />. See
>>> viewWidget documentation for a double check.
>>>
>>> Cheers
>>>
>>> Sylvain
>>> @sycom
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/YznqeuiZyqQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/8ce30f75-5513-4121-b44c-2d490071731a%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/8ce30f75-5513-4121-b44c-2d490071731a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAOWAUqEeoyNfKH%3DA_vwMMJcwB1k-j9_YyADXfoti0AS1KyUxsQ%40mail.gmail.com.

Reply via email to