I found that adding this to my ‘smart-mag-child’ functions.php
file worked.
add_editor_style( get_template_directory_uri() . '/style.css' );
If someone can show me documentation to how to properly do this that would be appreciated.
Edit:
Dokumentation about this to understanding why it works.
add_editor_style()
– Add callback for custom TinyMCE editor stylesheets.get_template_directory_uri()
– Retrieve theme directory URI. In the case a child theme is being used, the absolute path to the parent theme directory will be returned. Useget_stylesheet_directory_uri()
to get the absolute path to the child theme directory.
Related Posts:
- How can I improve the line break handling in the WYSIWYG editor?
- How do I change the login logo URL and hover title?
- Remove ‘Custom..’ option in tinyMCE colour swatch
- Add button in TinyMCE editor to insert text
- How to load a CSS file into WordPress admin area using Child Theme? [closed]
- Activating Child Theme Breaks Website, Blank Page, Error 500
- How to hide wordpress default description box?
- Why do I keep losing links when I switch to visual editor in WordPress
- WordPress Admin Not Loading All Core Scripts
- How to disable admin notice in child theme? [closed]
- ASCII to Unicode conversion and then save the data into database using WP post editor field
- Icons are missing from Visual Editor
- Strange wp-admin problem for all users/adminstrators except the original one?
- WordPress Child problem in admin
- Renaming child-theme folder fixed wp-admin blank
- Organizing Code in your WordPress Theme's functions.php File?
- How to check if a user is in a specific role?
- How can we make managing lots of pages in WordPress Admin better?
- Create WP tutorial for users with admin pointer using next button for navigation
- Add “external” link to admin menu in the backend
- Disable image attachment links
- Remove “Time to upgrade” message from dashboard
- Pre-fill fields with content from outside when creating a new post
- Why are admin scripts not printed
- White screen of death only in wp-admin
- wp-admin pages return ERR_EMPTY_RESPONSE
- wp-admin remove the subfolder URL
- Looking for a hook to add attachment information to the media library tab
- Removing admin bar from wordpress dashboard
- How to move wp-admin login page to another location? [closed]
- WP-admin giving 404
- How to control contextual help section by code?
- Can’t access wp-admin Internal Server Error 500
- Can’t access dashboard, connection times out (other pages work fine)
- Getting post meta data, while editing a post in wp-admin panel [closed]
- Add custom text to Page Tamplate without need to know html
- Move WP Admin Bar
- Get Stylesheet To Showup in WP Admin Panel Editor
- Deprecated : contextual_help has been deprecated since version 3.3.0
- Just how ‘expensive’ is this function?
- Custom Background-Image not showing up
- Remove query var on admin pages when ‘Save changes’ pressed
- admin_url in plugins
- Cannot find an OLD Gravity Form on an OLD Word Press site [closed]
- cannot find the login page for local WordPress site
- In editor-style.css how can I change background color of title field?
- Where did the screen options menu go?
- How do I change the upload file size limit in single-site wordpress install?
- Can’t call external stylesheet for WordPress admin (using wp_admin_css)?
- wrapping ‘rest_api_init’ in ‘is_admin()’ function
- display dynamic WP Site logo on wp-admin using CSS
- Restore a layout [closed]
- Logging into sandbox subdomain WP
- Page update through theme editor caused wp admin to break
- White screen of death on admin and other dashboard pages
- TinyMCE strips breaks inside editor
- can not access wp-admin after migrating to openshift
- Can I hook into wp_update_core outside of the admin?
- /wp-admin/ doesn’t work but /admin/ does
- Renaming wp-admin without hard-coding it. Is it really possible?
- WordPress Side Menu Admin Panel Default Order numbers List?
- Why can I log into wp-login.php and not wp-admin.php?
- add_submenu_page() issue
- Unable to properly login
- Is there a simple way to set wordpress site files back to out of the box?
- Remove header text option from the backend
- User Capabilities are not available in WP REST permission callback?
- How to check if it’s edit.php & post_type is set?
- Dashboard : remove Safari navigator message
- how to stop wordpress admin menu from scrolling with page
- Contextual help in wp-admin for non admins
- How to have WP admin in English while public website is in another language?
- Trying to create a page as a menu item in the admin while keeping the admen panel visible
- Manage Admin permissions by URL GET parameters
- Set edit capability based on ACF relationship
- Step by step guide for new users on how to post content?
- How to work with a custom theme that someone else created before me? (details below)
- Display Form in Admin Panel and Save data to Database
- Give wp-admin access for shop managers
- Cannot log in to WordPress admin or change password
- 403 Error when using save buttons
- Cached php? Updates are rendering only if logged as admin
- Js errors in wp-admin
- Avoid executing a function (redirect) if I’m in the admin area
- Wp-admin loguts me. When sign with Wp_singon
- Disable flyout (popup) menus in backend
- WordPress, content editor default type
- Changing headers for an export from within a PHP class extension
- When installing wordpress through WP CLI mysite.com/admin not working
- Remove capability to interact with a page
- Random HTTPs redirections at admin area in shared hosting
- WordPress Login for multiple sites
- How do I change the WordPress Address URL only and still login to wp-admin
- wordpress wp-admin showing white screen with no error
- Undeletable posts, users or other content
- Blank sign in page
- How to prevent Google adsense invalid impressions while performing admin tasks on my wordpress site?
- Action for opening edit page in admin?
- Couple questions about .htaccess, login page, updates
- Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?