• Hello,
    I’ve just installed Tography Lite. This is a fresh install on localhost, without any active plugins yet.

    On activation everything looked fine, but when I went on to create a new post or page, typed something on WP’s text editor and saved, a pink warning pop-up label appeared saying that a file located at /wp-content/themes/tography-lite/css/custom-editor-style.css had failed to load.
    As soon as I saw the warning I rushed to that folder to see if the custom-editor-style.css file was indeed missing. And it is. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • same here, running on WordPress 4.8.2

    Same issue. I think I found a workaround to this, here:
    https://developer.www.ads-software.com/reference/functions/add_editor_style/

    Seems to be working so far with my install of Topography Lite.

    Step 1: Add the following to the functions.php file of your theme.

    /**
     * Registers an editor stylesheet for the theme.
     */
    function wpdocs_theme_add_editor_styles() {
        add_editor_style( 'custom-editor-style.css' );
    }
    add_action( 'admin_init', 'wpdocs_theme_add_editor_styles' );

    Step 2: Create a file named custom-editor-style.css in your themes root directory. Any CSS rules added to that file will be reflected within the TinyMCE visual editor. The contents of the file might look like this:

    body#tinymce.wp-editor { 
        font-family: Arial, Helvetica, sans-serif; 
        margin: 10px; 
    }
     
    body#tinymce.wp-editor a {
        color: #4CA6CF;
    }

    Since I implemented this snippet, the message “/wp-content/themes/tography-lite/css/custom-editor-style.css” disappeared.

    • This reply was modified 7 years, 5 months ago by nikkoboy.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Missing file?’ is closed to new replies.