AutorÃa | Ultima modificación | Ver Log |
@editor @editor_atto @attoFeature: Add text direction and alignmentIn order to generate a content that can be displayed in the proper direction to everyoneAs a userI should see the Atto editor with explicit direction and alignment being setBackground:Given the following "user preferences" exist:| user | preference | value || admin | htmleditor | atto |And I log in as "admin"And I navigate to "Plugins > Text editors > Atto HTML editor > Atto toolbar settings" in site administrationAnd I set the field "Toolbar config" to multiline:"""collapse = collapsestyle1 = title, bold, italiclist = unorderedlist, orderedlistlinks = linkfiles = image, media, recordrtc, managefiles, h5pstyle2 = underline, strike, subscript, superscriptalign = align,rtlindent = indentinsert = equation, charmap, table, clearundo = undoaccessibility = accessibilitychecker, accessibilityhelperother = html"""And I press "Save changes"And I log out@javascriptScenario Outline: Atto should apply user's direction and alignment by defaultGiven the following "courses" exist:| fullname | shortname | summary | summaryformat || Course 1 | C1 | | 1 |And the following "language customisations" exist:| component | stringid | value || <component> | <stringid> | <localstring> |And I log in as "admin"And I am on "Course 1" course homepageWhen I navigate to "Settings" in current page administrationAnd I press "Show more buttons"And I press "HTML"Then I should see "<partialtext>"Examples:| component | stringid | localstring | partialtext || core_langconfig | thisdirection | ltr | dir=\"ltr\" style=\"text-align: left;\" || core_langconfig | thisdirection | rtl | dir=\"rtl\" style=\"text-align: right;\" |