wp_editor() “Button Missing On Frontend”
-
I have custom editable post type in my website from there any registered user can post there content and later edit it.
Here, am using wp_editor() function to display the default WordPress editor on front-end.Below is my code am using for displaying the editor on front-end.
$cs_job_desc = (isset($cs_job_desc)) ? ($cs_job_desc) : ''; wp_editor($cs_job_desc, 'cs_job_desc', array( 'drag_drop_upload' => true, 'editor_height' => 300, 'media_buttons' => false, 'textarea_name' => 'cs_job_desc', 'teeny' => true, 'tinymce' => array( 'resize' => false, 'wordpress_adv_hidden' => false, 'add_unload_trigger' => false, 'statusbar' => false, 'autoresize_min_height' => 600, 'wp_autoresize_on' => true, 'plugins' => 'lists,media,paste,tabfocus,fullscreen,wordpress,wpautoresize,wpeditimage,wpgallery,wplink,wptextpattern,wpview', 'toolbar1' => 'bold,italic,bullist,numlist,blockquote,link,unlink', ), 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,more', 'quicktags' => false, ));
For this i am getting the out like this:
https://prntscr.com/gcdn0zHowever, its strange that the same code is working properly while editing the post.Below is view while editing the post.
https://prntscr.com/gcdobf
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘wp_editor() “Button Missing On Frontend”’ is closed to new replies.