Thanks Mark,

That worked just fine. I had tried that before, but didn't think to add the 
"!important" part of that.

On Wednesday, January 13, 2021 at 6:27:11 PM UTC-7 Mark S. wrote:

> If you make a stylesheet tiddler (a tiddler tagged $:/tags/Stylesheet) and 
> put in this content:
>
> textarea.fieldarea {
> height: 5em !important  ;
> }
>
> You can override the default height that is being used. 
>
>
>
> On Wednesday, January 13, 2021 at 4:19:15 PM UTC-8 History Buff wrote:
>
>> Here's the simple code that I'm using in a separate tiddler that I 
>> transclude into a different tiddler. When the editor height mode is set to 
>> fixed the edit-text "window" is whatever is set in the editorheight tiddler 
>> which is huge.
>>
>> Notes:
>>   <$edit-text
>>     tiddler=<<currentTiddler>>
>>     field=notes
>>     class=fieldarea
>>     tag=textarea
>> />
>>
>>
>> On Wednesday, January 13, 2021 at 5:09:20 PM UTC-7 Mark S. wrote:
>>
>>> You might show an example of what you're doing.
>>>
>>> If you're doing what I think you're doing, then you'll probably need to 
>>> wrap a div with a custom class around your edit boxes, and then create a 
>>> stylesheet that uses !important to override the setting. The setting gets 
>>> placed via a style attribute, and AFAIK the only way to override that is 
>>> with an !important style.
>>>
>>> On Wednesday, January 13, 2021 at 1:32:31 PM UTC-8 History Buff wrote:
>>>
>>>> Hello all,
>>>>
>>>> I'm in the process of implementing a few edit-text widgets to ease the 
>>>> editing of fields. In the process, I noticed that the size of the textarea 
>>>> box is affected by the $:/config/TextEditor/EditorHeight/Mode tiddler and 
>>>> the $:/config/TextEditor/EditorHeight/Height tiddler which I had 
>>>> previously 
>>>> set as fixed for editing relatively large tiddlers to keep the edit bar 
>>>> visible. 
>>>>
>>>> Is there a way that I can have separate settings for my individual 
>>>> edit-text widgets and my the normal editing of tiddlers? I'm asking this 
>>>> because, at present, the text box for my edit-text widgets are 
>>>> unreasonably 
>>>> large unless I set the mode to auto.
>>>>
>>>> Thanks in advance!
>>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2797d80c-8cbf-461b-8d91-4c26f8952df0n%40googlegroups.com.

Reply via email to