Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Editor issues #60

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function inkblot_wp_enqueue_scripts() {
function inkblot_after_setup_theme() {
load_theme_textdomain('inkblot', get_template_directory() . '/_/l10n');

add_editor_style(get_stylesheet_uri());
//add_editor_style(get_stylesheet_uri());

if (get_theme_mod('font') or get_theme_mod('page_font') or get_theme_mod('title_font')) {
foreach (array_filter(array(
Expand All @@ -183,7 +183,7 @@ function inkblot_after_setup_theme() {
}
}

add_editor_style(add_query_arg(array('inkblot-mods' => 'editor'), home_url('/')));
add_editor_style(add_query_arg(array('inkblot-mods' => 'editor'), admin_url()) );

add_filter('use_default_gallery_style', '__return_false');
add_filter('show_recent_comments_widget_style', '__return_false');
Expand Down