After setting custom fields to WYSIWYG, the content of the fields doesn’t display in the field in the Edit page. If I return them to Textareas, the content is displayed.
If I create a new WYSIWYG custom field, the field is displayed on the Edit form, content can be added and edited, but when saved, the content disappears and is not saved.
Any ideas as to what might cause this? I’m using EE 1.6.4, TinyMCE 3.1.0.1 and LG TinyMCE 1.3.1, all the latest versions, and no compression.
My LG TinyMCE config is pretty straightfoward, nothing fancy:
mode : 'textareas',
theme : 'advanced',
button_tile_map : true,
editor_selector : 'lg_mceEditor',
fix_list_elements : true,
fix_nesting : true,
relative_urls : false,
theme_advanced_blockformats : 'p,h3,h4',
theme_advanced_toolbar_location : 'top',
theme_advanced_toolbar_align : 'left',
theme_advanced_statusbar_location : 'bottom',
theme_advanced_resize_horizontal : false,
theme_advanced_resizing : true,
plugins : 'safari,inlinepopups,paste,xhtmlxtras',
theme_advanced_buttons1 : 'cut,copy,pastetext,|,formatselect,|,bold,italic,abbr,|,bullist,numlist,|,link,unlink,|,image,|,removeformat,code',
theme_advanced_buttons2 : '',
theme_advanced_buttons3 : ''
I also get the same problem when using the regular TinyMCE extension: blank TinyMCE fields, or no new content saved.
i get this error on Firefox 3 CP Home › Admin › Weblog Administration › Field Groups › Custom Fields
missing ; before statement document.getElementById(‘direction_un…d(‘file_block’).style.display = “none”;\n
this is what it looks like in the source:
1908 else if (id == 'file')
1909 {
1910 document.getElementById('rel_block').style.display = "none";
1911 document.getElementById('select_block').style.display = "none";
1912 document.getElementById('pre_populate').style.display = "none";
1913 document.getElementById('text_block').style.display = "none";
1914 document.getElementById('textarea_block').style.display = "none";
1915 document.getElementById('date_block').style.display = "none";
1916 document.getElementById('relationship_type').style.display = "none";
1917 document.getElementById('formatting_block').style.display = "none";
1918 document.getElementById('formatting_unavailable').style.display = "block";
1919 document.getElementById('file_block').style.display = "block";
1920 }
1921 else if (id == 'wysiwyg'){
1922 document.getElementById('date_block').style.display = 'none'
1923 document.getElementById('select_block').style.display = 'none'
1924 document.getElementById('pre_populate').style.display = 'none'
1925 document.getElementById('text_block').style.display = 'none'
1926 document.getElementById('textarea_block').style.display = 'block'
1927 document.getElementById('rel_block').style.display = 'none'
1928 document.getElementById('relationship_type').style.display = 'none'
1929 document.getElementById('formatting_block').style.display = 'block'
1930 document.getElementById('formatting_unavailable').style.display = 'none'
1931 document.getElementById('direction_available').style.display = 'none'
1932 document.getElementById('direction_unavailable').style.display = 'block' document.getElementById('file_block').style.display = "none";
1933 }
the extension works great but this error breaks the js and I can’t update all posts when changing the “Default Text Formatting for This Field”.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.