Putting this
.myTextEdit { width:50em; height:10em !important; } in a tiddler tagged $:/tags/Stylesheet And putting this in a different tiddler \define bignotes(side) <$edit-text tiddler="notesInFields" field="$(currentTiddler)$.$side$" class="tw-edit-texteditor myTextEdit" tag="textarea"> \end <<bignotes>> gives me a textbox I can write contents to. However, when I save the TiddlyWiki file, close it and open it again, everything what I’ve written is gone. What am I doing wrong? On Monday, 20 March 2017 21:24:19 UTC, Eric Shulman wrote: > > On Monday, March 20, 2017 at 10:55:14 AM UTC-7, Dave wrote: >> >> >>> Is it maybe browser dependent? I mainly use firefox. >>> >>> Nope, same thing on Chrome :'( >> > > hmm.... it turns out that the TWCore is setting the height of the textarea > element explicitly (i.e., not through a CSS rule, but rather by directly > setting the property on the element. This is based on the EditorToolbar's > "editor-height" selection (auto size to fit content vs fixed height) > > $:/core/ui/EditorToolbar/editor-height-dropdown > <http://tiddlywiki.com/#%24%3A%2Fcore%2Fui%2FEditorToolbar%2Feditor-height-dropdown> > > To override this value for your custom input field (but NOT for all > textarea elements), you can add "!important" to the height property in your > CSS: > > .myTextEdit { width:50em; height:10em !important; } > > That should do it. > > enjoy, > -e > > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8d0cac3f-4177-4bfc-999b-2909ca739841%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.