AnsweredAssumed Answered

How to show TOC widget in right-to-left mode: solution

Question asked by ekleiman22 on Jan 17, 2015

I mean

of nliu  that is very useful. Recently I found how to show the tree of TOC in right to left mode.

Firstly define


div id="tocDiv" dir="rtl"

where tocDiv is a tag you would attach TOC to.

Secondly in source code Toc.js of tOC widget replace


paddingLeft by paddingRight

(there are 2 such places)

That's all