Rich Text Editor is not working; only shows HTML
Permalink
Concrete5 Rich Text Editor shows none of the usual toolset, only a box containing HTML code.
Primary difficulty is that we are not sure when the problem started, it has been going on for several weeks with unsure date of origin.
No update to our Concrete5 installation occurred, running 5.4.2.2.
Primary difficulty is that we are not sure when the problem started, it has been going on for several weeks with unsure date of origin.
No update to our Concrete5 installation occurred, running 5.4.2.2.
Okay, the problem is form at form.ajaxForm call is not defined in ccm.ui.js here:
ccm_setupBlockForm = function(form, currentBlockID, task) { form.ajaxForm({ Uncaught TypeError: Object [object Object] has no method 'ajaxForm' type: 'POST', iframe: true, beforeSubmit: function() { ccm_hideHighlighter(); $('input[name=ccm-block-form-method]').val('AJAX'); jQuery.fn.dialog.showLoader(); ccm_menuActivated = true; return ccm_blockFormSubmit(); }, success: function(r) { ccm_parseBlockResponse(r, currentBlockID, task); }
Viewing 15 lines of 16 lines. View entire code block.
New Information:
Bad call occurs in the response provided by edit_block_popup.php
$(this) returns e.fn.e.init[1]
Bad call occurs in the response provided by edit_block_popup.php
$(function() { $('#ccm-block-form').each(function() { ccm_setupBlockForm($(this), '1664', 'edit'); }); });
$(this) returns e.fn.e.init[1]
The problem was in header_required.php, a hired coder was using google's JQuery instead of c5's. A later change resulted in c5's JQuery being called when the blocks were edited; causing JQuery to re-initialize and lose necessary configuration of $.fn.ajaxForm .
Please give me more details how to fix this problem!! I am new to Concrete5. Thank you in advance!
http://www.concrete5.org/community/forums/usage/rich-text-editor-to...