Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
This files describes API changes in the editor_atto code.
2
 
3
=== 4.1 ===
4
 
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.
9
 
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.
12
 
13
=== 3.4 ===
14
 
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()
18
 
19
=== 3.0 ===
20
 
21
* Rangy updated to 1.3.0.
22
  Rangy has deprecated the createCssClassApplier function in this version (it is now createClassApplier).
23
 
24
=== 2.9 ===
25
 
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.