You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think a good new resource would be a new export declaration in languages.js called rtl, which stands for "right to left".
There is a CSS property called direction for setting how to show text in a node, whether from left to right (most languages) or from right to left (just a few ones).
Exporting such a variable would be agreeable for those who want to show a properly styled input, for example (that is what I need right now, reason why I've implemented by myself).
I think a good new resource would be a new
export
declaration inlanguages.js
calledrtl
, which stands for "right to left".There is a CSS property called
direction
for setting how to show text in a node, whether from left to right (most languages) or from right to left (just a few ones).Exporting such a variable would be agreeable for those who want to show a properly styled input, for example (that is what I need right now, reason why I've implemented by myself).
For now, it would be like this:
And then, a good practice would be export a function for saying if a language is rtl based on its "key":
The text was updated successfully, but these errors were encountered: