Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: child theme styles in tinymce advanced editor #105953
    Ronald
    Participant

    HI Mahesh, I use the same plugin: tinymce-advanced.
    Strange that this does not work on my site.

    Here’s functions.php in my child theme:

    /**
     * Loading Parent theme stylesheet
     *
     */
    add_action( 'wp_enqueue_scripts', 'gridalicious_child_enqueue_styles' );
    
    function gridalicious_child_enqueue_styles() {
        wp_enqueue_style( 'gridalicious-parent-style', get_template_directory_uri() . '/style.css' );
    }
    
    add_theme_support('editor-style');
    
    function wpdocs_theme_add_editor_styles() {
        add_editor_style( 'editor-style.css' );
    }
    add_action( 'admin_init', 'wpdocs_theme_add_editor_styles' );
    in reply to: child theme styles in tinymce advanced editor #105808
    Ronald
    Participant

    Which plugin do you use on your server?
    Ronald

    in reply to: child theme styles in tinymce advanced editor #105797
    Ronald
    Participant

    Hi Mahesh,

    Unfortunately it still does not work. By adding this function, if I understand correctly, css added to editor-style.css should also be available to the frontend? It doesn’t.
    The editor-style.css is in the parent theme css folder, not in the child theme’s folder. Is this relevant?

    Strange that this is not a standard feature of a PRO theme. Having a wysiwyg editor seams to me a common feature!

    Regards, Ronald

    in reply to: child theme styles in tinymce advanced editor #105772
    Ronald
    Participant

    Ok, I did.
    But no difference. If I add a style to editor-style.css the style is shown in the editor but not in the frontend. If I add this style in style.css in my child theme, the style is visible in the frontend but not in the editor…
    What can I do next?
    Ronald

Viewing 4 posts - 1 through 4 (of 4 total)