diff --git a/core/js/Macros.js b/core/js/Macros.js
index 77bb41f..ce2ab3b 100644
|
a
|
b
|
|
| 354 | 354 | var e,v; |
| 355 | 355 | if(field != "text" && !rows) { |
| 356 | 356 | e = createTiddlyElement(null,"input"); |
| 357 | | if(tiddler.isReadOnly()) |
| 358 | | e.setAttribute("readOnly","readOnly"); |
| 359 | 357 | e.setAttribute("edit",field); |
| 360 | 358 | e.setAttribute("type","text"); |
| 361 | 359 | e.value = store.getValue(tiddler,field) || defVal; |
| … |
… |
|
| 366 | 364 | var wrapper1 = createTiddlyElement(null,"fieldset",null,"fieldsetFix"); |
| 367 | 365 | var wrapper2 = createTiddlyElement(wrapper1,"div"); |
| 368 | 366 | e = createTiddlyElement(wrapper2,"textarea"); |
| 369 | | if(tiddler.isReadOnly()) |
| 370 | | e.setAttribute("readOnly","readOnly"); |
| 371 | 367 | e.value = v = store.getValue(tiddler,field) || defVal; |
| 372 | 368 | rows = rows || 10; |
| 373 | 369 | var lines = v.match(/\n/mg); |
| … |
… |
|
| 379 | 375 | e.setAttribute("edit",field); |
| 380 | 376 | place.appendChild(wrapper1); |
| 381 | 377 | } |
| | 378 | if(tiddler.isReadOnly()) { |
| | 379 | e.setAttribute("readOnly","readOnly"); |
| | 380 | addClass(e,"readOnly"); |
| | 381 | } |
| 382 | 382 | return e; |
| 383 | 383 | } |
| 384 | 384 | }; |
diff --git a/core/shadows/StyleSheetColors.tiddler b/core/shadows/StyleSheetColors.tiddler
index bcad1c3..db3e096 100644
|
a
|
b
|
|
| 123 | 123 | .editor input {border:1px solid [[ColorPalette::PrimaryMid]];} |
| 124 | 124 | .editor textarea {border:1px solid [[ColorPalette::PrimaryMid]]; width:100%;} |
| 125 | 125 | .editorFooter {color:[[ColorPalette::TertiaryMid]];} |
| | 126 | .readOnly {background:[[ColorPalette::TertiaryLight]];} |
| 126 | 127 | |
| 127 | 128 | #backstageArea {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::TertiaryMid]];} |
| 128 | 129 | #backstageArea a {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;} |