• Hello!

    I’ve included a front-end editor on my website but when included the icons in the editor doesn’t display right, and the same with the admin bar icons…
    Here is a screenshot: https://i.imgur.com/MtSrlQQ.png

    This is the code I’m using to load the editor:

    $content = $post->post_content;
    	$editor_id = 'editpost';
    	$mce_plugins = 'wordpress, wplink, wpdialogs';
    
    	$editor_args = array(
    		'media_buttons' => false,
    		'textarea_rows' => 10,
    		'wpautop' => false,
    		'tinymce' => array(
    			'plugins' => $mce_plugins
    		)
    	);

    And here:

    <link rel="stylesheet" id="editor-buttons-css" href="https://xxxx.no/wp-includes/css/editor.min.css?ver=4.2.2" type="text/css" media="all">
     <p><?php wp_editor( $content, $editor_id, $editor_args ); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Use firebug in Firefox or Inspect Element in Chrome over one of the icons and see what the url is for the icon image. I suspect the path is not correct.

    Thread Starter aleahl213

    (@aleahl213)

    If I inspect a element they have this in the CSS:

    content: "\f226";

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Editor icons not displaying right’ is closed to new replies.