Repository navigation
Conversation
'rtl' or 'auto' (follow the page) sets the same direction on the container, textarea and preview, so the overlay stays aligned; alignment, and in preview mode lists, task boxes and quote bars, turn to the right. 'ltr' stays the default. Checked in Chromium with Hebrew (monospace) and Arabic (proportional: true). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
All reported issues were addressed across 8 files
Reply with feedback, questions, or to request a fix.
View guided diff | Re-trigger cubic
Rebuilt dist/ (npm run build) so package and CDN users get the dir option the README documents; the 'Apply options to the editor' JSDoc moved back above _applyOptions(), the direction one stays above _applyDirection(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
|
Thanks, both fixed. dist/ is rebuilt, so the package and CDN builds include dir (the minified script-tag build sets dir="rtl" from dir: |
panphora
added a commit
that referenced
this pull request
Nov 14, 2026
…olbar labels, and right-to-left writing
- autoResize minHeight and maxHeight accept px, rem, em, vh, vw, vmin and vmax
- Toolbar icons are hidden from screen readers
- Pasting one safe URL over selected text writes [text](url); linkPaste: false turns it off
- Headings go to six levels, with optional strikethrough and H4-H6 toolbar buttons
- A labels option translates the toolbar, with OverType.defaultLabels as the English source
- A dir option ('ltr', 'rtl', 'auto') writes right to left with the overlay aligned
Written from the ideas in PRs #117, #118, #119, #127, #128 and #129.
Owner
|
Thanks for this, and for checking Hebrew and Arabic! 2.9.0 has a dir option ('ltr', 'rtl' or 'auto'), so I'm closing this one. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
'rtl' or 'auto' (follow the page) sets the same direction on the container, textarea and preview, so the overlay stays aligned; alignment, and in preview mode lists, task boxes and quote bars, turn to the right. 'ltr' stays the default. Checked in Chromium with Hebrew (monospace) and Arabic (proportional: true).
Summary by cubic
Adds a
diroption so the editor can write from right to left.'rtl'forces right-to-left; excess space'auto'follows the page where the editor sits. Both set the same direction on the container, textarea, and preview so the overlay stays aligned, and preview mode moves list indents, task boxes, and quote bars to the right. The default stays'ltr'.proportional: truesince Arabic script has no monospace fonts.dist/so package and CDN users get the option.Written for commit cd613dd. Summary will update on new commits.