Moodle
  1. Moodle
  2. MDL-20363

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

    Details

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

      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)

      1. choose-a-video.php.tar.gz
        1.0 kB
        Nadav Kavalerchik
      2. htmlarea_insert_embed.tar.gz
        28 kB
        Nadav Kavalerchik
      1. ed-multimedia.gif
        1.0 kB

        Activity

          People

          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: