[gravityform id=”1″ title=”true” description=”true” ajax=”false” /]
jQuery(document).ready(function($) {
// Check if tinyMCE is available
if (typeof tinyMCE !== 'undefined') {
// Force reinitialize WYSIWYG editor
$('.wp-editor-area').each(function() {
var textareaId = $(this).attr('id');
// Remove existing editor
tinyMCE.execCommand('mceRemoveEditor', false, textareaId);
// Reinitialize editor
tinyMCE.execCommand('mceAddEditor', false, textareaId);
// Refresh content
tinyMCE.get(textareaId).setContent($(this).val());
});
}
// Fallback for quick edit mode
$(document).on('click', '.wp-editor-wrap', function() {
var editorId = $(this).find('.wp-editor-area').attr('id');
if (editorId && typeof tinyMCE !== 'undefined') {
tinyMCE.execCommand('mceAddEditor', false, editorId);
}
});
});
Note: Our phone lines are not actively monitored as employees respond to additional requests. Please email us at Membership@nstxl.org for the quickest response.
