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

insert a new embed code at cursor position (htmlarea editor)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: HTML Editor (TinyMCE)
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Difficulty:
      Moderate

      Description

      a new toolbar icon (function) to insert an EMBED code from the web into
      the current position of the cursor inside the htmlarea editor.

      solves difficulties for non html users that wish to embed code inside
      complex htmlarea text. and not just added it at the end of the code.
      ( a little bit more user friendly for novice web user)

      i have patched the lib/editor/htmlarea/htmlarea.php file and lib/editor/htmlarea/dialog.js
      and made two new ones : lib/editor/htmlarea/popups/insert_embed.php and lib/editor/htmlarea/popups/choose-a-video.php
      and added some strings to editor.php file for the selected local language you use on your site.

      all files are attached to this issue.

      details follow in the comments area (it is more visually clear to have them there)

        Attachments

          Activity

            People

            Assignee:
            danmarsden Dan Marsden
            Reporter:
            nadavkav Nadav Kavalerchik
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: