Numbering and bulleting is not working in the text editor

Home Forums Legacy Support Support queries Other issues Numbering and bulleting is not working in the text editor

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #352550
    Ernesto Lee
    Participant
    ul li and other p tag issues. the contents i add in front end course creation. it looks fine there but it did not show in course view mode. refer: https://prnt.sc/11fjrot i researched on internet and the issue is. your paragraphs are not adding the <p> tags and nbsp; properly. i tried this code, it works but when i use this code. wp-admin >> appearance >> customize stop working and any changes in customizer does not save. //remove_filter( 'the_content', 'wpautop' ); //remove_filter( 'the_excerpt', 'wpautop' ); add_filter('wp_insert_post_data', function ($data, $postarr) { $data['post_content'] = wpautop($data['post_content']); return $data; }, 10, 2);
    #352809
    Ada
    Participant
    Hi, For numbering and bullets please add this code in appearance>>customize>>custom css
    
    
    #vibebp_member #course_component .vibebp_main ul{
        list-style-type:disc !important;
        padding-left: 40px !important;
    }
    #vibebp_member #course_component .vibebp_main ol{
        list-style-type:decimal !important;
    padding-left: 38px !important;
    }
    #vibebp_member #course_component ul.create_course{
        list-style-type:none !important;
    }
    .vibebp_main .course_curriculum_builder .field_curriculum .vibev_editor .vibe_editor ul {
        list-style-type: disc !important;
        padding-left: 38px !important;
    }
    #course_unit_popup .unit_content ul{
        list-style-type:disc !important;
        padding-left:38px !important;
    }
    #course_unit_popup .unit_content ol{
        list-style-type:decimal !important;
        padding-left:38px !important;
    }
    #vibebp_member #course_component ul.course_curriculum_builder_list li.vibe_vibe_course_curriculum, li.vibe_save_curriculum_button {
        list-style-type:none !important;
        padding-left:0px !important;
    }
    #vibebp_member #course_component .course_timeline ul {
        list-style-type:none !important;
        padding-left:0px !important;
    }
    #vibebp_member #course_component .vibebp_main p+ol{
        margin-top:10px !important;
        margin-bottom:10px !important;
    }
    
    
    Adjust margin and padding values as per your need. Appearance>>customize>>custom css is only for css code. You can not add php code there. If you want to add any custom code then you can add and test in wplms customizer plugin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Numbering and bulleting is not working in the text editor’ is closed to new replies.