JanJo
1
Hi, a stupid question: Why is this not working?
<div class="jj_editlinkfield">
<$edit-text class="jj_editlinkfield" tiddler={{$:/HistoryList!!current-tiddler}} field="xlinks" tag="textarea"/>
</div>
<style>
.jj_editlinkfield input { width: 100%}
</style>
By the way: I would live to have the ability to define the width and heigth in the widget - not only the size.
A textarea element is not an input element.
Try this CSS:
.jj_editlinkfield textarea { width: 100%; }
and if you also may sometimes want a single-line input element , use this:
.jj_editlinkfield input,textarea { width: 100%; }
and then omit the tag="textarea" param from the $edit-text widget.
-e
1 Like
JanJo
3
Thank you!
I started to get mad about this.