mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-03-14 10:42:49 -07:00
* Extend element widget with support for CSS custom properties. * chore: added tests * chore: code style * docs: added documentation for support for CSS custom properties * docs: added documentation for support for CSS custom properties
15 lines
No EOL
470 B
Text
15 lines
No EOL
470 B
Text
title: Widgets/ElementWidgetCSSCustomProps
|
|
description: Element widget should support CSS custom properties
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
<div class="hello" onclick="clicked" style.color="blue" style.color="red" style.background="yellow" --bg-color="purple">
|
|
TiddlyWiki
|
|
</div>
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p><div class="hello" style="color:red;background:yellow;--bg-color:purple;">TiddlyWiki</div></p> |