2010年8月23日
ブログ記事の本文編集エリアを拡張する
Movable Type 5のブログ記事/ウェブページにある、本文編集エリアの縦幅を拡張する方法です。
編集エリアのスタイルは、mt-static/css/editor/editor.cssの以下のセレクタで設定しています。
.edit-entry #editor-content-enclosure {
height: 350px;
}
.edit-entry #editor-content-textarea {
height: 355px;
border: 0 ! important;
}
編集エリアの縦幅を550pxに変更したい場合、以下のように修正します。
.edit-entry #editor-content-enclosure {
height:550px;
}
.edit-entry #editor-content-textarea {
height:550px;
border: 0 ! important;
}
上記のように、直接editor.cssを編集しなくても、CMSHeadプラグインを利用して次のように設定すれば、サイズを簡単に変更することができます。
編集エリアの横幅は、ブラウザの横幅を広げれば拡張されます。
Comments [0]
| Trackbacks [0]