-
Improvement
-
Resolution: Fixed
-
Blocker
-
2.6
-
MOODLE_26_STABLE
-
MOODLE_26_STABLE
-
MDL-41098-master -
-
20
-
FRONTEND Sprint 4
Add contenteditable text editor to core (non default).
Link to plugins DB:
https://moodle.org/plugins/view.php?plugin=editor_contenteditable
Link to github:
https://github.com/damyon/contenteditable
Also needs: MDL-40493 to allow users to set their choice of editor in their preferences.
Reasoning:
1. TinyMCE has bugs in iOS that we have been unable to solve in a reasonable amount of time. This editor is much simpler - so less to debug/maintain. We can leave tinymce as the default - but use this editor on iOS spcifically where tinyMCE fails.
2. It fits with Moodle better - it uses YUI for window management, and event handling - and uses moodle pix_icons etc - so the UI "fits" better with Moodle.
Things to do:
Change the name? - done - rename to "HTML5 text editor"
Change the icons? - only for consistency. Can be done when icons are ready.
If this is to be a core editor it needs to support enough of the features that TinyMCE supports so that it is not seen as worse.
Some things tinyMCE does that contenteditable does not:
- Image alignment
- Maths plugins
- Colors
- Fonts
- Paste from word (Is this really needed?)
- More...
- blocks
-
MDL-36803 TinyMCE editor doesn't accept keyboard input on iOS6 after touch event
- Closed
-
MDL-41260 Disable tinymce on iOS
- Closed
-
MDL-40493 Allow an editor plugin to be chosen per profile
- Closed
- caused a regression
-
MDL-43641 Some moodle dialogs are positioned on not centred when they shoudl be
- Closed
- will help resolve
-
MDL-36803 TinyMCE editor doesn't accept keyboard input on iOS6 after touch event
- Closed