code_junkie

TinyMCE Draws Okay, But Won't Let Me Type In It. In FF, Buttons Have Error: Component returned failure code: 0x80004005

Nov 12th, 2011
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLDocument.execCommand]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://mysite/tiny_mce/tiny_mce.js :: anonymous :: line 1" data: no]
  2. Source File: http://mysite/tiny_mce/tiny_mce.js
  3. Line: 1
  4.  
  5. <script type="text/javascript" src="http://mysite/tiny_mce/tiny_mce.js"></script>
  6. <script>
  7. tinyMCE.init({
  8. mode : 'none',
  9. editor_selector: 'mceAdvanced',
  10. theme : 'advanced',
  11. theme_advanced_toolbar_location : 'top',
  12. theme_advanced_toolbar_align : 'left',
  13. theme_advanced_buttons1 : 'fontsizeselect,bold,italic,|,bullist,numlist,|,outdent,indent,|,removeformat',
  14. theme_advanced_buttons2: '',
  15. theme_advanced_buttons3: '',
  16. theme_advanced_font_sizes: "1, 2, 3, 4",
  17. width: '600',
  18. height: '200',
  19. remove_script_host : true,
  20. cleanup_on_startup : true,
  21. cleanup: true,
  22. debug : true,
  23. convert_urls : false
  24. });
  25.  
  26. tinyMCE.execCommand('mceAddControl', true, 'fldOverview');
  27. </script>
  28.  
  29. <textarea id="fldOverview" name="fldOverview" class="textbox"><?= OVERVIEW ?></textarea>
Add Comment
Please, Sign In to add comment