Skip to content

Commit

Permalink
set min-height (OpenMage#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
empiricompany authored Aug 8, 2023
1 parent 18f4196 commit d2cdcca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ protected function _prepareForm()

$form->addField($this->getData('editor_element_id'), 'editor', [
'name' => 'content',
'style' => 'height:460px',
'required' => true,
'force_load' => true,
'config' => Mage::getSingleton('cms/wysiwyg_config')->getConfig($config)
Expand Down
1 change: 1 addition & 0 deletions js/mage/adminhtml/wysiwyg/tinymce/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ tinyMceWysiwygSetup.prototype =
convert_urls: false,
relative_urls: true,
skin: this.config.skin,
min_height: 460,
urlconverter_callback: (url, node, on_save, name) => {
// some callback here to convert urls
//url = this.decodeContent(url);
Expand Down

0 comments on commit d2cdcca

Please sign in to comment.