Commit 35c22b7
authored
feat(editor): Added a new optional textDirection property to config to set the 'dir' attribute on the editor div (#592)
feat(config): add textDirection option for RTL/LTR support
- Add textDirection property to AngularEditorConfig
- Bind to HTML dir attribute on editor element
- Supports 'ltr', 'rtl', and 'auto' values
Closes #5201 parent 4fa6521 commit 35c22b7
3 files changed
Lines changed: 4 additions & 1 deletion
File tree
- projects
- angular-editor-app/src/app
- angular-editor/src/lib
- editor
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
0 commit comments