Add a faint background to freelinks

single-tiddler-mode
Jeremy Ruston 2020-01-04 16:33:52 +00:00
rodzic 1ed884cef4
commit 1c91f72baa
2 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -0,0 +1,8 @@
title: $:/plugins/tiddlywiki/freelinks/styles
tags: [[$:/tags/Stylesheet]]
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
button.tc-tiddlylink.tc-freelink, a.tc-tiddlylink.tc-freelink {
background-color: #5777d91c;
}

Wyświetl plik

@ -98,7 +98,8 @@ TextNodeWidget.prototype.execute = function() {
childParseTree[index] = {
type: "link",
attributes: {
to: {type: "string", value: match[0]}
to: {type: "string", value: match[0]},
"class": {type: "string", value: "tc-freelink"}
},
children: [{
type: "plain-text", text: match[0]