/ Published in: PHP

This PHP adds the style.css of the active Theme to the WordPress TinyMCE Post and Page editor.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* USE CUSTOM STYLE.CSS IN POST EDITOR */ add_action('init', 'add_style'); function add_style() { add_editor_style('style.css'); } /* END USE CUSTOM STYLE.CSS IN POST EDITOR */
URL: http://eckstein.id.au/12590/wordpress/functions-tinymce-style
Comments
