Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull request for Moodle 29 stable #24

Merged
merged 17 commits into from
Nov 6, 2017

Conversation

iarenaza
Copy link
Contributor

Has the same fixes and enhancements as the master branch pull request.

Closes #2 #18 #21

eljulians and others added 17 commits December 11, 2016 14:52
(cherry picked from commit b487d75)
The previous approach had some assumptions (e.g., it assumed there was
a singe instance of the editor on the same page) that lead to some
bugs and corner cases. Now the plugin hooks on the form submit event
and clean the highlighting <span> tags there. The cleaning doesn't use
any regexes any longer. Instead it uses DOM operations that are more
robust and potentially faster.

Also multilang tag highlighting <span>'s are now removed/added when
switching to/from HTML view, reducing clutter when editing the HTML code.

Some initial coding style cleanup work has been carried out. More to follow.

Tested in Firefox 56 and Chromium 61.0.3163.100.

Closes eljulians#2 eljulians#18 eljulians#21
IE doesn't implement Function.caller.name (it's not part of
the standard), so we directly use the function from
the HTML view plugin object for the comparison.

Tested with Internet Explorer 11.0.9600.18762 in Windows 7 SP1,
and Firefox 56 and Chromium 61.0.3163.100 in Linux.

Also fix CSS bug introduced in a previous commit (missing ';'
at the end of the property).
And make sure we don't include in the repo the Node modules used by Grunt.
@iarenaza iarenaza changed the title Merge Moodle 29 stable branch Pull request for Moodle 29 stable Oct 31, 2017
@eljulians eljulians merged commit 5510def into eljulians:MOODLE_29_STABLE Nov 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants