1
WYSIWYGエディターボタンをphtmlフォームに追加する方法
以下のフォームの「特性」フィールドにwysiwygエディターボタンを追加したいと思います。バックエンドのようにスクリプトを追加しましたが、フォームで機能しません。そのボタンをクリックすると、ウィンドウが定義されていないことを警告します <form action="<?php echo $this->getUrl('createform/index/create'); ?>" id="createform" name="createform" method="post" enctype="multipart/form-data"> <div class="fieldset"> <ul class="form-list"> <li class="fields"> <div class="field"> <div class="input-box"> <table width = "700" cellspacing = "300" cellpadding = "150"> <tr> <th><p><label for="name" class="required"><?php echo Mage::helper('createform')->__('Name') ?><span>*</span></label></th> <th> <input name="name" id="name" title="<?php echo Mage::helper('createform')->__('Name') ?>" value="" class="input-text required-entry" type="text" /></p></th> …