Closed ramyahm2010 closed 7 months ago
Hi, Try this:
editor.isActive({ dir: "rtl" });
Because the global attribute's name is dir
not textDirection
. But I think textDirection
makes more sense. I will update it in a future release.
Thanks @amirhhashemi
Tried provided code & it's working fine.
Hello,
Kindly, need a way to detect active current direction (rtl / ltr), i tried following:
editor.isActive({ textDirection: "rtl" });
but always returns
false
even if it's already current active direction !