0

I'm using the renderers to alter the indention of the levels however I needed to provide a custom function to identify the proper label.

Here's the payload returned from the API >>>>

<p>sample product</p>
<p><br></p>
<ol>
   <li>sample</li>
   <li class="ql-indent-1" id="a">sample</li>
   <li class="ql-indent-1" id="a">sample</li>
   <li class="ql-indent-2" id="i">sample</li>
   <li class="ql-indent-2" id="i">sample</li>
   <li class="ql-indent-2" id="i">sample</li>
   <li class="ql-indent-1" id="a">sample</li>
   <li class="ql-indent-1" id="a">sample </li>
   <li class="ql-indent-2" id="i">sample</li>
   <li class="ql-indent-3" id="1">sample</li>
   <li class="ql-indent-4" id="a">sample</li>
</ol>
  • Hi Toni, and welcome to Stackoverflow! Just as a kind reminder of the rules, please [do not upload images of code/errors when asking a question.](//meta.stackoverflow.com/q/285551). As per your issue, the current version you seem to be using (5.x) does not provide much extensibility for targeting list nest levels. Version 6.x however should be much better at this. Still in alpha; I'll post a full response when the release goes beta. – Jules Sam. Randolph Jun 01 '21 at 11:02
  • Would you mind adding the CSS rules for those classes and the desired output? – Jules Sam. Randolph Jun 12 '21 at 19:13

0 Answers0