Home  >  Q&A  >  body text

javascript - The div is set with contenteditable=true, and the words entered inside are from right to left, why?

I used a wangEditor editor, and then when I used it for the first time, the input text was from left to right normally, then clicked Modify and used it for the second time, the input text was from right to left, solve

阿神阿神2711 days ago573

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-19 10:27:52

    What question do you want to ask? What does screenshot mean? It's not very clear, right? If you want to know how to make text display from right to left, you can take a look at these two properties

    unicode-bidi:bidi-override; 
    direction: rtl;

    reply
    0
  • Cancelreply