Andrew Nicols
d8e2dc99b7
MDL-44867 atto_equation: Switch to the Downarrow for cursor position
...
The \square macro is not available in standard MimeTeX.
2014-04-30 11:14:36 +08:00
Andrew Nicols
d926ce7173
MDL-45254 atto_equation: Allow insertion of macros at the beginning of words
2014-04-24 15:13:19 +08:00
Marina Glancy
7b99722e93
Merge branch 'MDL-45207-master' of git://github.com/andrewnicols/moodle
2014-04-24 14:00:46 +08:00
Sam Hemelryk
d4f0e345ab
Merge branch 'MDL-45169-master' of git://github.com/FMCorz/moodle
2014-04-24 11:33:34 +12:00
Andrew Nicols
05a7f9e749
MDL-45239 editor_atto: The editor cannot be active if it is not the active element
...
FireFox thinks that you can have an active selection on an element which
currently does not have focus. How this can be the case is a mystery.
2014-04-23 16:59:40 +08:00
Andrew Nicols
ea382deaaf
MDL-45207 atto_equation: Handle multiple equations on the same line
2014-04-23 15:34:26 +08:00
Frederic Massart
8aa64bab43
MDL-45169 atto_image: Translatable string for 'size'
...
AMOS BEGIN
CPY [size,core],[size,atto_image]
AMOS END
2014-04-23 14:43:28 +08:00
Andrew Nicols
6411513518
MDL-45008 atto_link: Standardise unlinking for non-selections
...
When placing the cursor within a link, but not making a selection, we
should unlink the whole link.
2014-04-22 12:37:27 +08:00
Dan Poltawski
d2907f5cb9
Merge branch 'MDL-44778_atto_border' of https://github.com/andyjdavis/moodle
2014-04-18 14:07:53 +08:00
Dan Poltawski
aee01173f7
Merge branch '45123-27' of git://github.com/samhemelryk/moodle
2014-04-18 11:54:48 +08:00
Dan Poltawski
d2b8b67a9c
Merge branch 'MDL-44674-master' of git://github.com/andrewnicols/moodle
...
Conflicts:
lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin-min.js
2014-04-18 11:49:39 +08:00
Dan Poltawski
3ff2fae230
Merge branch 'MDL-44906-master' of git://github.com/andrewnicols/moodle
2014-04-18 11:42:36 +08:00
Andrew Davis
fcc19a2ff4
MDL-44778 editor_atto: added a border around the equation preview
2014-04-17 08:45:10 +08:00
Dan Poltawski
287fc6ce68
Merge branch 'MDL-44798-master' of git://github.com/andrewnicols/moodle
2014-04-16 15:21:08 +08:00
Marina Glancy
2522b260e6
Merge branch 'MDL-44758-master' of git://github.com/jethac/moodle
2014-04-16 14:42:15 +08:00
Andrew Nicols
234ead3461
MDL-44798 editor_atto: Backport a fix for HTML5Shiv
...
This is a backport of the Rangy workaround for a bug in HTML5Shiv, which
breaks document.createElement by returning nodes which have parent nodes.
HTML5Shiv refuses to fix this bug so Rangy has had to work around it.
For more information see:
* https://code.google.com/p/rangy/issues/detail?id=104 ; and
* https://github.com/aFarkas/html5shiv/issues/64 .
2014-04-16 12:14:28 +08:00
Sam Hemelryk
7747557d03
MDL-45123 atto_equation: improvements to ajax.php
2014-04-16 15:12:03 +12:00
Sam Hemelryk
d668060fdc
Merge branch 'MDL-45034-master' of git://github.com/damyon/moodle
...
Conflicts:
lib/editor/atto/plugins/image/yui/build/moodle-atto_image-button/moodle-atto_image-button-min.js
2014-04-16 09:23:30 +12:00
Marina Glancy
4ba9490813
MDL-44826 atto: re-shifted js
2014-04-15 18:07:10 +08:00
Marina Glancy
2e68bf6136
Merge branch 'MDL-44826-master' of git://github.com/damyon/moodle
2014-04-15 17:55:30 +08:00
Damyon Wiese
d3931a7d4d
MDL-45034 Atto: Image dialogue improvements.
...
1. Fix Nan bugs in auto width / height
2. Allow percentages in auto width / height
3. Change dialogue title
4. Prevent preview image resizing from changing the height of the dialogue.
5. Change wording to "Auto size"
6. Auto adjust size when the "Auto size" checkbox is toggled.
7. Add img-responsive to images with the original aspect ratio.
8. If the width and height fields are left blank, revert them to the image size.
2014-04-15 16:43:27 +08:00
Damyon Wiese
7bbc64b88f
MDL-44826 Atto: Set default image alignment to 'bottom'
2014-04-15 15:47:52 +08:00
Sam Hemelryk
00719eefd7
Merge branch 'MDL-44826-master' of git://github.com/damyon/moodle
2014-04-15 16:42:12 +12:00
Damyon Wiese
d28af3d4aa
MDL-44826 Atto: Image alignment options
...
If an image has custom alignment or margins - don't overwrite
them unless a new alignment option is chosen.
2014-04-15 12:23:31 +08:00
Jetha Chan
f0ddce4df1
MDL-44758 editor-atto: prevent table-in-table creation
...
Prevent new table creation, displaying table context menu instead when cursor is within caption, when multiple cells are selected, when selection contains both nodes within and outside of the table, and when selection contains nodes from multiple tables.
2014-04-15 11:39:57 +08:00
Sam Hemelryk
564a413367
Merge branch 'MDL-45040-master' of git://github.com/jethac/moodle
2014-04-15 12:31:44 +12:00
Damyon Wiese
313ae82ec0
Merge branch 'MDL-44844-master' of git://github.com/andrewnicols/moodle
2014-04-14 10:32:00 +08:00
Andrew Nicols
e41b0e7543
MDL-44674 editor_atto: Remove the ability to prevent callback wrapping
...
The callback wrapping handles various important ARIA options and should not
be so easily preventable.
2014-04-14 10:09:14 +08:00
Andrew Nicols
040e13010d
MDL-44906 atto_collapse: Keep focus on the collapse button on toggle
2014-04-14 09:51:50 +08:00
Damyon Wiese
2e8cbbb3ac
MDL-44826 Atto: Remove most of the image alignment options
...
Just keep the simple ones and put some default padding on images.
2014-04-11 12:55:28 +08:00
Damyon Wiese
7b28067413
Revert "MDL-44758 editor-atto: prevent table-in-table creation"
...
This reverts commit 3a6511a530
.
Conflicts:
lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button-debug.js
lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button-min.js
lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button.js
lib/editor/atto/plugins/table/yui/src/button/js/button.js
2014-04-11 09:47:57 +08:00
Jetha Chan
efbcbd5e46
MDL-45040 editor-atto: selection reverts erroneously
...
Fixed an issue where selections reverted on toolbar button press when the last selection was made by dragging outside of Atto.
2014-04-10 18:06:47 +08:00
Dan Poltawski
e5d3f6ea26
Merge branch 'MDL-44868-master-fixup' of git://github.com/FMCorz/moodle
...
Conflicts:
lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-min.js
2014-04-10 14:51:42 +08:00
Frederic Massart
5e543b4f76
MDL-44868 editor_atto: Remember the last focused button in the toolbar
2014-04-10 14:22:10 +08:00
Damyon Wiese
92810c07f7
MDL-44927 Atto: Fix bad merge of MDL-44760 (missing menu entry)
2014-04-10 13:26:03 +08:00
Andrew Nicols
c63f90539a
MDL-44760 editor_atto: Address issues with focus when closing menus
...
Safari fires it's events in a slightly different order for the focusoutside
event which causes the focusAfterHide to be called *after* we change focus.
As a result, we must keep track of the menus which are currently open and
remove their focusAfterHide.
2014-04-09 15:26:34 +08:00
Andrew Nicols
9b2fc5741e
MDL-44844 core: Fix custom menu navigation
...
Atto introduced a rule to hide all Nodes with the yui3-menu-hidden class
but this rule is too general and applies to non-atto content too.
As a result, when loading the menu and during the XY calculation, the
native Element.getBoundingClientRect() function was returning a bounding
box size of 0 because the Node was not visible and the node was being
hidden from view when it was later made visible.
2014-04-09 14:50:02 +08:00
Damyon Wiese
48dc9f0175
MDL-44927 Atto: Table editor typo that prevents creation of new tables.
2014-04-09 11:31:26 +08:00
Sam Hemelryk
6a90bc5e05
Merge branch 'MDL-44870-master' of git://github.com/FMCorz/moodle
2014-04-09 10:37:05 +12:00
Sam Hemelryk
b983a5d869
Merge branch 'MDL-44765-master' of git://github.com/phalacee/moodle
2014-04-09 10:26:33 +12:00
Damyon Wiese
0610d2ca92
Merge branch 'MDL-44131-master' of git://github.com/FMCorz/moodle
...
Conflicts:
lib/editor/atto/plugins/equation/yui/build/moodle-atto_equation-button/moodle-atto_equation-button-debug.js
lib/editor/atto/plugins/equation/yui/build/moodle-atto_equation-button/moodle-atto_equation-button-min.js
lib/editor/atto/plugins/equation/yui/build/moodle-atto_equation-button/moodle-atto_equation-button.js
lib/editor/atto/plugins/equation/yui/src/button/js/button.js
2014-04-08 14:18:50 +08:00
Frederic Massart
050159dc9f
MDL-44131 atto_equation: Equation library groups are aria toolbars
2014-04-08 14:08:54 +08:00
Dan Poltawski
052d51b15f
Merge branch 'MDL-44241-master' of git://github.com/andrewnicols/moodle
2014-04-08 13:53:19 +08:00
Damyon Wiese
594a5c8c02
Merge branch 'MDL-44235-master' of git://github.com/FMCorz/moodle
2014-04-08 12:32:49 +08:00
Dan Poltawski
822b055c61
Merge branch 'MDL-44784-master' of git://github.com/FMCorz/moodle
2014-04-08 12:12:01 +08:00
Dan Poltawski
d0a3cec564
Merge branch 'MDL-44806-master' of git://github.com/phalacee/moodle
2014-04-08 12:07:15 +08:00
Dan Poltawski
9a59ebaa6c
Merge branch 'MDL-44810-master' of git://github.com/jethac/moodle
...
Conflicts:
lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin-min.js
2014-04-08 12:04:41 +08:00
Dan Poltawski
23cc5bbdc0
Merge branch 'MDL-44868-master' of git://github.com/FMCorz/moodle
...
Conflicts:
lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-min.js
lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin-min.js
2014-04-08 11:37:25 +08:00
Dan Poltawski
95ce54f060
Merge branch 'MDL-44869-master' of git://github.com/FMCorz/moodle
2014-04-08 11:27:59 +08:00
Sam Hemelryk
87f2c808f7
Merge branch 'MDL-44760-master' of git://github.com/andrewnicols/moodle
...
Conflicts:
lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button-debug.js
lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button-min.js
lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button.js
lib/editor/atto/plugins/table/yui/src/button/js/button.js
lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin-min.js
2014-04-08 08:59:54 +12:00