Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ckeditor bullets and numberedlists are not displaying in result

Tags:

ckeditor

I have applied ckeditor on a textarea . it display bold and italic txext as it is but does not display numbered lists and bulletlist in results when i fetch from database. Instaead it encapsulte whole text in ol/ul tags.


    A secretary, personal assistant, or administrative assistant is a person whose work consists of supporting management, including executives, using a variety of project management,
    communication, or organizational skills. These functions may be entirely carried out to assist one other employee or may be for the benefit of
    more than one. In other situations a secretary is an officer of a society or organization
    who deals with correspondence, admits new members, and organizes official meetings and events

Jquery code to apply ckeditor:

$(document).ready(function(){
//Applying ckeditor on provider msg textarea.
CKEDITOR.replace( 'responsibilities', 
    {
    uiColor: '#6C518F',
    toolbar: [
                { name: 'basicstyles', items : [ 'Bold','Italic','TextColor',"BGColor", 'NumberedList','BulletedList'  ] },
                { name: 'tools', items : [ 'Maximize','-' ] }
            ],
    removePlugins : 'elementspath'
});
})
like image 625
Always_a_learner Avatar asked Nov 06 '25 00:11

Always_a_learner


1 Answers

It's caused most likely by:

  • Either some backend filtering which strips lists.
  • Or styling of your webpage, which sets list-style-type to none.

If none of these is true, please clarify your question.

like image 104
Reinmar Avatar answered Nov 07 '25 15:11

Reinmar