Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-41098

Add Atto HTML editor to core (the editor formally known as contenteditable)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: HTML Editor (Atto)
    • Labels:
    • Testing Instructions:
      Hide

      Go to Administration -> Plugins -> Text Editors
      Enable the HTML 5 Text Editor and move it to the top of the list.

      Try it on different browsers in different areas of Moodle: (Some suggestions are forum, course settings, create a quiz multiple choice question).

      Note the list of subtasks on this issue for improvements already raised.

      Try it on a phone.
      Get your Mum to try it on her iPad.
      Try it on a "Chrome Pixel (you might need to buy this yourself)"
      Try it on a palm pilot

      Show
      Go to Administration -> Plugins -> Text Editors Enable the HTML 5 Text Editor and move it to the top of the list. Try it on different browsers in different areas of Moodle: (Some suggestions are forum, course settings, create a quiz multiple choice question). Note the list of subtasks on this issue for improvements already raised. Try it on a phone. Get your Mum to try it on her iPad. Try it on a "Chrome Pixel (you might need to buy this yourself)" Try it on a palm pilot
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-41098-master
    • Story Points (Obsolete):
      20
    • Sprint:
      FRONTEND Sprint 4

      Description

      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...

        Gliffy Diagrams

          Attachments

          1. html.png
            html.png
            188 kB
          2. linkDialog.png
            linkDialog.png
            178 kB
          3. pretty.png
            pretty.png
            170 kB
          4. Screen Shot 2013-08-26 at 10.57.43.png
            Screen Shot 2013-08-26 at 10.57.43.png
            106 kB
          5. scrollup.png
            scrollup.png
            172 kB

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  11 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    18/Nov/13