-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
area:coreA bug/feature for the core code-input.js/code-input.css filesA bug/feature for the core code-input.js/code-input.css filesbugSomething isn't workingSomething isn't working
Description
thanks for this awesome code. i wanted to use it for my non-code-highlighting use case involving RTL languages, and found the following issues:
- displayed text is always left-aligned. using ctrl+right-shift or alt-shift the change the text direction (alignment) and/or the language does not affect displayed text.
- due to the above, selection and highlighting of right aligned text is broken. the hidden correctly-aligned text is highlighted instead. this is relevant for both user selection process itself which is confusing, and the highlighting of that selection or of the browser's find in page. strange crossovers can occur for long lines. see image:
- also, using dir="rtl" or dir="auto" have no effect (i only tried this with the css-tricks demo)
Metadata
Metadata
Assignees
Labels
area:coreA bug/feature for the core code-input.js/code-input.css filesA bug/feature for the core code-input.js/code-input.css filesbugSomething isn't workingSomething isn't working