WordPress.org

Ready to get started?Download WordPress

Forums

WP 2.2 Comments Visual Editor Not Working (3 posts)

  1. sandroWP
    Member
    Posted 7 years ago #

    Hello, I am working with WP 2.2 and have issues with the visual editor when editing comments. The editor works fine for Posts, and Page edits. However, the comments editor shows only as code view.

    I have disabled the CSS style sheet and noticed that the buttons to switch between code and visual are there. These however do not show up when CSS is enabled (firefox feature). I have tested the comments edit page with IE 6 and FF. both don't work.

    It seems that the javascript is not running properly on the "wp-admin/comment.php" file but runs fine in the "wp-admin/post.php" and "wp-admin/page.php" files. I am new to word press so I don't know my way around the code yet. Both the post and page edit pages allow you to switch between code view and visual view. The comment page shows the editor in code view and does not give you the option to switch between code and visual views.

    I have noticed the following differences in HTML output between the post/page php files and the comments.php file:

    Some of the javascript calls in the head section of the html do not get included in the comments page.

    wp-includes/js/fat.js?ver=1.0-RC1_3660
    wp-includes/js/prototype.js?ver=1.5.0-0
    wp-includes/js/jquery/jquery.js?ver=1.1.2
    wp-includes/js/jquery/interface.js?ver=1.2
    wp-includes/js/tw-sack.js?ver=1.6.1
    wp-includes/js/autosave.js?ver=20070306
    among other calls.

    I have also found that the following were definitively not included in the commments.php HTML output:

    wp-includes/js/tinymce/tiny_mce_gzip.php?ver=20070326
    wp-includes/js/tinymce/tiny_mce_config.php?ver=20070225

    These appear to be the javascript files for the editor.

    In further investigation, I hard coded the two javascript calls mentioned above in the admin-header.php file and the visual editor works in the comments edit page.

    These are missing in the edit comments page:
    wp-includes/js/tinymce/tiny_mce_gzip.php?ver=20070326
    wp-includes/js/tinymce/tiny_mce_config.php?ver=20070225

    However, hard coding these in is not the right way to do things.

    Even further down my exploration, I found that the wp-includes/script-loader.php file may not be writing the nescessary script calls on the comments edit page. Any suggestions how to fix this? Thanks

  2. bzend
    Member
    Posted 6 years ago #

    I just upgraded from version 2.0 to 2.3.2, and the visual editor for comments still doesn't work!

  3. kmessinger
    Volunteer Moderator
    Posted 6 years ago #

    Try using Firefox.

Topic Closed

This topic has been closed to new replies.

About this Topic