rtl-styling icon indicating copy to clipboard operation
rtl-styling copied to clipboard

Breaking words

Open ffoodd opened this issue 4 years ago • 1 comments

RTL Styling 101 mentions the word-break property for line breaks, but there other properties that may behave the same (or introduce line breaks):

  • overflow-wrap (docs on MDN) which is the new name for word-wrap (supported as far as IE 5)
  • hyphens (docs on MDN)— albeit it should depend on the current language dictionnary I wonder what happens with Arabic or other RTL languages.

It might be valuable that the guide mentions at least overflow-wrap and word-wrap, I guess :)

FYI, in Bootstrap the .word-wrap utility combines both word-wrap and word-break properties, until overflow-wrap support gets better.

ffoodd avatar Jul 23 '20 12:07 ffoodd

Thank you for the great suggestion! Will take this into consideration :)

shadeed avatar Jul 30 '20 20:07 shadeed