Hebrew Input text box not really RTL

Anyone knows what should I do to (or what to code to add on which events/hooks) in order to have a full Hebrew input text box? Currently all dots, numbers are entered to the end although the text box is defined as RTL

Hello Anatarad,

To change the text direct:

  1. Click the text element.

  2. Click Edit Text .

  3. Select the relevant text.

  4. Click the Change Text Direction icon :camera:

To create a multilingual site:

Hope this helps,
Majd

He/She is asking about Input field, not normal Text.

Did you ever get this fixed? I’m facing the same issue…

You can change the layout direction on the editor.

@jonatandor35 Not really. That’s the obvious and first thing I tried. However, the published web-site still considers the “input text box” to be ltr… For instance - putting the cursor at the beginning of my hebrew text is actually the end of the text and vice-versa.

@forautozoom3125 I tried it and it worked perfect for me, and I can’t say why it behaves differently on your site.

@jonatandor35 Ok, I think I see what the issue is here…
If I make the text alignment RTL then things work as expected. But I want the text-box to have a centralized alignment with RTL cursor direction.
In most text related objects these are two separate attributes, and so I easily choose “center text” and RTL simultaneously, but the input-text-box has only a “layout” option, with the actual text direction sort-of inferred or something.
Is there a way to have an input-text-box with centered text that’s still considered fully RTL text??
Is there an attribute I can set via some simple corvid coding?
Thanks!

@forautozoom3125 I see. I’m afraid this is not supported.
But you can create such element in an iframe (htmlComponent) or if you have a premium account you can create a custom element.
You’ll have to use or or a div with contenteditable=“true” depends on what exactly you need. And apply css:
direction: rtl;
text-align: center;

@jonatandor35 I have a paid account, but I’m new to all this coding. 3 days of js-ing, so creating a custom element is gonna get pushed to somewhere rather low on the backlog until this is both a higher priority than other important stuff I’m trying to set up, and also less of a foreign language to me…
Thanks for the reply! This saves me time looking for something non-existent, and also helps as a pointer for when I finally reach that backlog issue…

You’re welcome :slight_smile: