• Had some minor issues in the /wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php code that generated errors.
    I fixed them like so:
    (I put literals for my use)

    Replace line 118: $toolbar_height = $font_size * 1.5 . ‘px !important;’;
    With: $toolbar_height = ’20px !important;’;

    Replace line 119: $info_height = $font_size * 1.4 . ‘px !important;’;
    With: $info_height = ’20px !important;’;

    Replace line 134: $line_height = ($font_size * 1.4) . ‘px !important;’;
    With: $line_height = ’20px !important;’;

    • This topic was modified 8 years, 3 months ago by yehudaT.

The topic ‘Solution for issues in crayon_formatter.class.php’ is closed to new replies.