Advanced HTML Editor 3 Support Product Page

Advanced HTML Editor 3.3.1 NOT working with old editor script

Reported 10 Apr 2012 05:08:26
1
has this problem
10 Apr 2012 05:08:26 Foster Brovan posted:
I am using windows Vista on a pc with Dreamweaver cs 5.5
Here is an example of code not working with the new editor.
But the code is working in the browser on the Internet?

<tr valign="baseline">
        <td nowrap align="right">Product Directory</td>
        <td colspan="2"><label for="StoreProductDir"></label>
          <textarea id="StoreProductDir" name="StoreProductDir" class="dmxEditor office" style="width:728px;height:300px"><?php echo $row_Store['Store_Product_Directory']; ?></textarea>
<script type="text/javascript">
  // <![CDATA[
 jQuery(document).ready(
   function()
     {
       jQuery("#StoreProductDir").dmxEditor(
         {"FileManager": {"path": "../../images/store-images/products/ProductPage2/ProductDir", "subFolder": "ProductDir", "view": "thumb", "showThumbs": true, "allowUpload": true, "allowDelete": true}, "ImageGallery": {"path": "../../images/store-images/products/ProductPage2/", "subFolder": "ProductDir", "allowUpload": true, "allowDelete": true}, "width": 728, "noScript": false, "allowUpload": true, "uploadPath": "../../images/store-images/products/ProductPage2/ProductDir", "subFolder": "ProductDir", "uploadProcessor": "php", "allowResize": true, "resizeMaxWidth": 98, "resizeMaxHeight": 200, "iconSet": "colorful_32", "includeCss": "../../buddystyle7cp.css", "skin": "office", "formatterSettings": {"linkType": "full"}, "toolbars": {"Text": {"items": {"subscript": false, "superscript": false, "indent": false, "outdent": false}}, "Insert": {"items": {"inserthorizontalrule": false}}, "Search": {"enabled": false}, "Code": {"enabled": false}}, "extensions": ["FileManager", "ImageGallery"]}
       );
     }
 );
  // ]]>
</script>
          [br]
        [br]</td>
      </tr>


Advanced HTML Editor 3.3.1 is working with some of the old editor script I am using windows Vista on a pc with Dreamweaver cs 5.5

Replies

Replied 10 Apr 2012 05:36:34
10 Apr 2012 05:36:34 Teodor Kuduschiev replied:
Can you please explain what do you mean by:
Quotecode not working with the new editor But the code is working in the browser on the Internet?

Replied 10 Apr 2012 06:19:08
10 Apr 2012 06:19:08 Foster Brovan replied:
The code in Dreamweaver should show the editor in the property window at the bottom of dreamweaver but it does not show when you click on the form that has the editor.
Some of the older code from the HTML editor 3.0 shows the editor in the property window at the bottom of Dreamweaver.
The problem is in Dreamweaver.
When I click on the code that does not show the editor and then go to a different page the editor in the property window does not show I have to close Dreamweaver and restart Dreamweaver to have the editor work so I can edit the form.
Replied 10 Apr 2012 06:27:52
10 Apr 2012 06:27:52 Teodor Kuduschiev replied:
I just copied and pasted the code you provided and the editor shows just fine in the properties inspector.
Please uninstall the extension, clear your DW cache: www.dmxzone.com/go?16740 and restart DW. Then install the extension again.
Replied 10 Apr 2012 16:21:33
10 Apr 2012 16:21:33 Foster Brovan replied:
The clearing of the cash helped, But I it still has problems with some of the editors.
Problem:
I open the file and go to the form textarea and no editor button bar and when I click on the textarea the editor does not show in the properties inspector.
When I click on the HTML Editor buton on the top of Dreamweaver I get this error:
Whil execution onLoad in dmxAdvHTMLEdit3.htm, the folowing javaScript error(s) occurred:
At line 563 of file "C:/users\Foster\AppData\Roaming\Adobe\Dreamweaver CS5.5\en_US\Configuration\Shared\DMXZone\Advanced HTML Editor3\dmxAdvHTMLEditor3_lib.js:
The Toolbar has no properties
Replied 10 Apr 2012 16:58:34
10 Apr 2012 16:58:34 Foster Brovan replied:
It is somthing with this code that the HTML Editor 3.3.1
has a problem with.

<script type="text/javascript">
// <![CDATA[
jQuery(document).ready(
function()
{
jQuery("#pageadded".dmxEditor(
{"ImageGallery": {"path": "../images", "subFolder": "pages", "allowUpload": true, "allowDelete": true}, "FileManager": {"path": "../images", "subFolder": "pages", "showThumbs": true, "allowUpload": true, "allowCreate": true, "allowRename": true, "allowDelete": true}, "width": 550, "height": 800, "noScript": false, "lineBreak": "p", "allowUpload": true, "uploadPath": "../images", "subFolder": "pages", "uploadProcessor": "php", "iconSet": "colorful_32", "includeCss": "../buddystyle7cp.css", "locale": "en", "formatterSettings": {"linkType": "full"}, "toolbars": {"Text": {"items": {"subscript": false, "superscript": false, "indent": false, "outdent": false}}, "Lists": {"enabled": false}, "Table": {"items": {"insertRowAfter": false}}, "Insert": {"items": {"deletelink": false, "insertspecialchar": false}}, "Code": {"enabled": false}}, "extensions": ["FileManager", "ImageGallery"], "toolbarsOrder": ["Text", "Format", "Lists", "Table", "Insert", "Font", "Style", "History", "Common", "Code"]}
);
}
);
// ]]>
</script>
Replied 10 Apr 2012 18:22:54
10 Apr 2012 18:22:54 Foster Brovan replied:
The problem seems to be in the tool bar.
If I take out the tool bar code it works.
Example:
Code before:
This is the old Editor Code that does not work

"toolbarsOrder": ["Text", "Format", "Lists", "Table", "Insert", "Font", "Style", "History", "Common", "Code"]

Changed code for tool bar:
This works:

"toolbars": {"History": {"enabled": false}, "Text": {"items": {"subscript": false, "superscript": false, "indent": false, "outdent": false}}, "Format": {"enabled": false}, "Table": {"enabled": false}, "Insert": {"items": {"inserthorizontalrule": false, "insertspecialchar": false}}, "Search": {"enabled": false}}
Replied 10 Apr 2012 18:38:26
10 Apr 2012 18:38:26 Foster Brovan replied:
I have found the problem:

What to do:
Take out this code save page and restart Dreamweaver
That will make your tool bar and program work.

The code to take out:
, "toolbarsOrder": ["Common", "History", "Lists", "Text", "Format", "Table", "Insert", "Search", "Font", "Style", "Code"]

I hope that this helps.
Foster

Reply to this topic