-
-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
Hi!
This plugin doesn't work in RTL, at ALL, not even a little.
We can't even use a workaround like direction:ltr;, like we can in most LTR-only plugins, because it appends items directly to the body.
Instead of appending text directly to the body for text measurement purposes, can we append it to a
<div style="direction:ltr;"> INSIDE the body?
This would be a simple workaround for RTL websites.
Edit:
As a workaround, I modified the library as follows:
I added
$('<div style="direction:ltr;text-align:left;"><div id="awesomecloud-text-marker"></div></div>').prependTo($('body'));
Then replaced all instances of $('body') with $('#awesomecloud-text-marker'); inside the library itself, and it works, now.
Metadata
Metadata
Assignees
Labels
No labels