Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter amazemedia

    (@amazemedia)

    fixed it with:

    function myextensionTinyMCE($init) {
    // Command separated string of extended elements
    $ext = ‘span[id|name|class|style],p[id|name|class|style]’;

    // Add to extended_valid_elements if it alreay exists
    if ( isset( $init[‘extended_valid_elements’] ) ) {
    $init[‘extended_valid_elements’] .= ‘,’ . $ext;
    } else {
    $init[‘extended_valid_elements’] = $ext;
    }

    // Super important: return $init!
    return $init;
    }

    add_filter(‘tiny_mce_before_init’, ‘myextensionTinyMCE’ );

    My thanks to Chuck for helping me out.

    Plugin Author Justin Busa

    (@justinbusa)

    Thanks for posting a solution! Let me know if you have any other questions.

    Justin

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Font Awesome issue’ is closed to new replies.