WordPress.org

Forums

Simple Fields
TintMCE not working (3 posts)

  1. JimDestruct
    Member
    Posted 5 years ago #

    Hi, the simple fields visual editor for TinyMCE is not working in the new version - fine on standard editors but not on simple fields editors.

    Error: tinyMCE is not defined
    Source File: /wp-content/plugins/simple-fields/scripts.js?ver=0.3.8
    Line: 80

    Any ideas?

  2. manki
    Member
    Posted 5 years ago #

    Been having the same problem. After upgrading WP to 3.2.1 the TinyMCE stopped working.

    After a couple of hours looking around and trying different things, I found the solution:

    you need to add wp_tiny_mce( false ); to the function simple_fields_admin_head:

    function simple_fields_admin_head() {

    wp_tiny_mce( false ); //this is new

    // Add meta box to post
    global $post;
    ...

    Here’s an article I found usefull:
    http://dannyvankooten.com/450/tinymce-wysiwyg-editor-in-wordpress-plugin/

    Hope it helps.

  3. rickcurran
    Member
    Posted 4 years ago #

    Hi, I've encountered this error too and it was breaking the drag and drop re-ordering of fields. But applying this code fix sorted the JS errors being caused and re-ordering is working again.

    This should really get fixed in the core plugin code though.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic