9d4ee6f66f6d3cbf91f7f642c00b2ef46ad4a19b
[moodle.git] / lib / editor / atto / upgrade.txt
1 This files describes API changes in the editor_atto code.
3 === 4.1 ===
5 * Two new helper functions have been added to lib/editor/atto
6 to handle enable/disable the empty placeholder for empty content in the HTML source view:
7   - enablePlaceholderForEmptyContent() - Handle to enable the empty placeholder for empty content
8   - disablePlaceholderForEmptyContent() - Handle to disable the empty placeholder for empty content.
10 * One property have been added to lib/editor/atto to handle the state of the empty placeholder content.
11   - enableAppropriateEmptyContent - Enable/disable the empty placeholder content.
13 === 3.4 ===
15 * The following functions, previously used (exclusively) by upgrade steps are not available
16   anymore because of the upgrade cleanup performed for this version. See MDL-57432 for more info:
17     - atto_equation_update_librarygroup4_setting()
19 === 3.0 ===
21 * Rangy updated to 1.3.0.
22   Rangy has deprecated the createCssClassApplier function in this version (it is now createClassApplier).
24 === 2.9 ===
26 * When adding a shortcut to the button of a plugin, atto will add a layer of validation
27 to ensure that only the required keys are pressed. However, if you are using a custom
28 keyConfig object you must validate the shortcut yourself. This is particularly important
29 for non-English keyboard users. For more information read the documentation of
30 EditorPluginButtons::_addKeyboardListener() and MDL-47133.