BoldDesk®Customer service software offering ticketing, live chat, and omnichannel support, starting at $49/mo. for 10 agents. Try it for free.
Hi, We are using syncfusion richtextbox editor with custom theme downloaded from theme studio. we are using v26 of syncfusion. The OrderedList, UnorderedList and NumberedList toolbar items are not working. Other controls are working fine. I am attaching the code images here.
Hi Vinay Adiga,
We have reviewed the details you provided and suspect that the issue may be caused by a style override for the list element. We attempted to replicate the problem using a sample based on your code snippet, but we were unable to do so.
To assist us in further investigating this issue, could you please provide the following additional details?
list-style-type: none
in your application end.These details will greatly help us in identifying and resolving the problem.
Thank you.
Regards
Selvakumar s
we are using custom tailwindcss. I have attached the same. I am not aware of list-style-type. Please explain further.
Hi Vinay Adiga,
We have created a sample using the custom CSS you provided, but after analyzing it, we were unable to replicate the issue you're experiencing. To assist you more effectively, please provide additional details so we can better understand and resolve the problem quickly.
Could you please confirm the following?
Your feedback will help us identify the root cause and offer a solution promptly.
Sample: https://stackblitz.com/edit/react-sbghn3-x8aepc?file=index.html,index.css
I have attached a recording of the screen in which the code is not working. Please take a look. I have opened the dev-tools as well.
Hi Vinay Adiga,
Thank you for sharing the video. After reviewing it, we found that the issue arises because the list-style
is set to none
and the padding
is set to 0
for the ul
and ol
elements in the editor. These styles are overriding the default Rich Text Editor component styles.
To fix this, please add the following CSS to your application:
<style>
.e-richtexteditor .e-rte-container .e-content ol {
padding-inline-start : 40px;
list-style: auto;
}
.e-richtexteditor .e-rte-container .e-content ul{
list-style-type : disc;
padding-inline-start : 40px;
}
</style>
For a working example, you can refer to this sample: StackBlitz Example.
Yep. Now its working. Thank you.
Hi Vinay Adiga,
We are glad your problem has been solved. Please get back to us if you have any further queries.