Announcement

Collapse
No announcement yet.

WYSIWYG Editor errors

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • WYSIWYG Editor errors

    Parse error: parse error in /homepages/4/d87385130/htdocs/forums/includes/functions_editor.php(438) : eval()'d code on line 71

    Lines 60 - 80:
    PHP Code:
      }
     }
     
    $istyle = array();
     foreach (
    $istyles AS $key => $array)
     {
      
    $istyle[] = "\"$key\" : [ \"$array[0]\", \"$array[1]\", \"$array[2]\", \"$array[3]\" ]";
     }
     return 
    implode(", "$istyle);
    }
    // ###################### Start wysiwyg_compatible #######################
    // returns 0, 1, 2 depending on permissions, options and browser compatability
    function is_wysiwyg_compatible($userchoice = -1)
    {
     global 
    $vboptions$bbuserinfo$_SERVER;
     
    // check for a standard setting
     
    if ($userchoice == -1)
     { 
    User's WYSIWYG setting is Full WYSIWYG, broken for all users with that setting.

  • #2
    Revert your EDITOR template

    Comment


    • #3
      Thanks! All my editor templates were altered... But I don't see how it broke the WYSIWYG.

      The alterations were just like this:
      Instead of:
      Code:
      <blah blah blah />
      It was:
      Code:
      <blah blah blah   />
      Just an extra space or two in some tags. Oh well, problem solved, thank you.

      Comment


      • #4
        Im guessing the edtior template got updated and there was a JS change

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X