Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter swwoman

    (@swwoman)

    Update: IE 11 on Windows 7 appears to be working. However, last night I was unable to use the visual editor on my Windows 8 machine. My site co-creator has experienced problems with Windows 10.

    Thread Starter swwoman

    (@swwoman)

    Yet another update: my co-creator says she can start a topic or thread just fine. She can reply to the first post, but cannot reply to any other posts in the thread. She simply cannot type any text in the box.

    We have exactly the same problem. TinyMCE doesn’t allow the user to type anything in the tex box, Text Editor is working fine.

    Did anyone find a solution for this problem?

    Same issue.The problem is coming from the addReply.moveForm function in the includes/replies/template.php file. I disabled the function and then the editor works in IE. The form stays at the bottom of the page, which is what it does in Chrome. Unfortunate – it’s a nice feature to have the form appear below the post being replied to, but at least the tinymce editor works.

    I need to figure out a way to edit this without changing the core file. Any suggestions would be great.

    Partial solution, for anyone with the same issue.

    I put this function override in a javascript file inside my theme. You can remove the console.log and leave the function empty or figure out a nicer solution for moving the form. If I make something that works, I’ll post it here.

    addReply = {
    moveForm : function(){
    console.log(“function override successful”)
    }
    }

    Kineta

    I have this problem also.

    The solution you list above. Where exactly are you putting the js file inside your theme?

    Thanks for any help

    H Khunmax,

    After much more work on my project, I have a better solution than the one I posted above. TinyMCE doesn’t like being moved around the dom. This function removes the editor, moves the container, then reinitializes the editor. The last few lines that are commented out are for a custom title field for replies. You probably don’t need those lines.

    Put the function in your theme’s javascript file (this code needs to come after the bbPress js files, it should automatically do so if you put it in the theme js). If your theme doesn’t have a javasript file you will have to create one, and enqueue it in theme’s function.php file. My function is using jquery, so keep that in mind.

    Good luck.

    addReply = {
    		moveForm : function(replyId, parentId, respondId, postId) {
    
    			// remove the editor before moving it's container:
    			tinymce.EditorManager.execCommand('mceRemoveEditor',true, 'bbp_reply_content');
    
    			// move the container under the post being replied to
    			$('#post-container-'+parentId).after($('#'+respondId));
    
    			// redraw the editor
    			tinymce.EditorManager.execCommand('mceAddEditor',true, 'bbp_reply_content');
    
    			// put the reply-to id into a hidden field for bbPress to use:
    			$('input#bbp_reply_to').val(parentId);
    
    			// create the Reply to title in the form:
    			//var container = 'post-container-' + parentId;
    			//var str = $('#'+container).find('.bbp-reply-title').html();
    
    			//$('#replyForm-replyTo').html('Reply to: ' + str);
    
    			// don't reload the page:
    			return false;
    		}
    	}

    Hey Kineta

    Thank you very much for replying with a solution and so very promptly.

    Much appreciated.

    I am not as smart as you, nor very experienced with WP.

    I am running my own functionality plugin. However I tried your code in there and it didn’t work/parse.

    I am also running a child theme.

    My theme is Generator press which from what I can see does not have a js file but rather a folder with a dozen or so js files therein.

    Any chance you could explain to me, like I was a very small child, a golden retriever, where I should put your code.

    Sorry to bother you and thanks again for any assistance you can offer.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘tinyMCE not working in Internet Explorer’ is closed to new replies.