Bullet List Style not appearing while editing in rich text editor

santhoshkumar budhihal asked on August 16, 2016 14:05

Hi,

I am trying to add few bullet listed points and i am able to do it by clicking on the bullet list option in the rich text editor control.

While the content shows up as expected in the output, it doesnt show up at all while adding new list item, we only have to understand that it is existing but not visible, how to make it visible ?

See the first Image , to know how it is not appearing, PFA

​PS: Need urgent help, highly appreciate your time

http://screencast.com/t/GBpjBxxput

http://screencast.com/t/DyV5P14DV1iD

Recent Answers


Brenden Kehren answered on August 16, 2016 14:39

Typically I define a smaller stylesheet for the editor. You can simply add a new stylesheet to the CSS Stylesheet app and then in the Sites app on the General tab you can assign the stylesheet to the editor. In most modern stylesheets, there are some global clearing going on and this typically breaks all the functionality in the editor which is why we use a separate smaller subset of a stylesheet.

0 votesVote for this answer Mark as a Correct answer

santhoshkumar budhihal answered on August 16, 2016 15:42

Thank You for the response Brenden , appreciate it.

I would like to know if there will be any issues in case if I change the default editor css that is presently there .

we already have some custom styles defined in the styles.js for paragraphs in the rich text editor, will i loose it all if i add new small css stylesheet for just bulletin points ?

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on August 16, 2016 16:13

The styles.js file is different than the styles assigned to the editor box. The styles.js file will define the actual values in the buttons/controls of the editor. The stylesheet will define how they look when you start typing or adding content in the editor.

0 votesVote for this answer Mark as a Correct answer

santhoshkumar budhihal answered on August 16, 2016 16:21

Thanks for the clarification,

So I know have to remove the default editor stylesheet and replace it with a small stylesheet that will have below css

ul { display: block; list-style-type: disc; -webkit-margin-before: 1em; -webkit-margin-after: 1em; -webkit-margin-start: 0px; -webkit-margin-end: 0px; -webkit-padding-start: 40px;

}

after this i will simply click on bullet list icon in editor to get a bullet style list ?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.