Select Moodle version:

Other: HTMLArea Toolbar Extensions

Extra toolbar plugins for the HTMLArea editor (Moodle 1.9). Including Video, Audio recording, Multimedia embedding, Style manipulation, Vector drawing, Image editing, Image uploading...
Maintained by: Picture of Nadav Kavalerchik Nadav Kavalerchik
for Moodle
1.9

Overview

This (relatively small) patch to Moodle 1.9.x core (to: lib/weblib.php) enable
SysAdmin to add folders of extra functionality plugins to the HTMLAREA internal editor
without the need to change (patch) any of the lib/editor/htmlarea/htmlarea.php code
for each plugin (toolbar icon) that they wish to add.
(Actually, very similar to the way we can extend Moodle anywhere else...)

Plus, it enables the SysAdmin to control which plugins are visible (system wide)
using a "setting" configuration form. (from the system menu block)

Plugins, included with this patch

  • AskBloom - Help teachers setup a more sophisticated instruction to students as defined by BLOOM
  • Resize editor - Extend the size of the editor when it is very small
  • AudioRecorder - Records Audio comments and embed this into the text (+Flash player)
  • Marker - mark text
  • InserSWF - Insert Flash movies into the text
  • InserEmbed - Insert EMBED element anywhere in the text (no need to switch/know html)
  • Dropbox - support Public sharing of dropbox files
  • FileManager - Support for embeding Block FileManager files inside the text
  • IconGallery - Embed Icons (free sets) (update: from the Moodledata/1/icongalleries folder)
  • CellWith - Change the width of a table's column
  • DrawSVG - Vector Graphics editing tool + Insert SVG drawing into the textarea
  • Paint - Pixlr.com editor + Insert image into the textarea
  • RemoveNOLINK - remove nolink TAG
  • PageBackground - load an image as background to the entire textarea
  • InsertImage - Drag and Drop image(s) to upload them into the textarea (any user)
  • LineHeight - Set Line Height of current paragraph
  • TableSupport (Disabled) - Table rows and cells configuration
  • Insert PDF - Embed a PDF viewer into the webpage
  • DragAndDropImage - Opens a popup window, into which a user (students) can Drag and Drop Images from their Desktop
  • TinyMCE editor - Enables editing of the current content within a TinyMCE editor using a popup window.
  • DragMath - wrapper for the DragMath Math equation editor plugin + plugin code DragMath 0.7.9 released 10/10/2010 (uses java)(see readme file for install instructions)
  • WIRIS Formula and CAS - wrapper for the WIRIS Math equation editor plugin + plugin code 2.3 beta (uses java) (see readme file for install instructions)
  • VideoRecorder - The video recording applet allows to record video in mp4 format ( H.264 video and AAC audio) and embed it into the text (Inspired by Kevin Brake @ eLearningShow.com)
  • HTMLPurify - Clean the text using HTMLPurifier library

Demo Video : 

Screenshots

screenshot

Contributors

Picture of Nadav Kavalerchik
Nadav Kavalerchik (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Gabriela Petrosino
    Fri, Oct 14, 2011, 10:05 PM
    Dear Nadav,
    We're eager to use the HTML Toolbar extension, in fact we've implementated into our development site. In the process we've found a bug, it's doesn't work properly with the student role. With the student role, it's only show the text area without any access to the standard toolbar and the custom toolbar (html extensions).
    Thanks.
  • Picture of Florin Daneliuc
    Sun, Nov 27, 2011, 1:11 AM
    I'm looking for a "code coloring" functionality (http://www.webdesignbooth.com/9-useful-javascript-syntax-highlighting-scripts/).
    I one hacked once our Moodle installation to add SyntaxHighlighter to it but then lost it when the server was rebuild.
    Whould it be possible to add this to your plugin?

    thanks
  • Picture of Tanya Duffy
    Sat, Dec 3, 2011, 10:59 AM
    I am having difficulty setting up this patch. I followed the instructions upto point 4 where as sysadmin you start a browser and open ...." and didn't understand how to select the plugins you wish to enable.
    1. Apply the patch.
    2. Unzip custom_plugins.zip into "lib/editor/htmlarea/custom_plugins"
    3. Copy "htmlarea_plugins.php" to "admin/settings"
    4. As SysAdmin, start a browser and open "http://youmoodle/admin/settings.php?section=htmlareasettings"
    select the plugins you wish to enable and save the settings.
    5. Open the HTMLAREA Editor (and checkout your new plugins!)


    When I run notifications the page displays a box with the following words

    New settings - htmlareasettings

    Can you please explain where I am going wrong?
  • Picture of Nadav Kavalerchik
    Sat, Dec 3, 2011, 7:47 PM
    Sorry for the confusion. i had to split the plugin into two packages.
    The (1) core and (2) the plugins.

    Here are the revised install instructions:
    0. Download custom_plugins.zip and custom_plugins_all_plugins.tar.gz from the GIT repo (https://github.com/nadavkav/RTL-BIDI-Hebrew-Moodle-Plugins/tree/master/lib/editor/htmlarea)
    1. Unzip custom_plugins.zip and apply the patch file (htmlarea_custom_plugins.patch)
    2. Unzip custom_plugins_all_plugins.tar.gz into "lib/editor/htmlarea/custom_plugins"
    3. Copy "htmlarea_plugins.php" to "admin/settings"
    4. As SysAdmin, start a browser and open "http://your-moodle/admin/settings.php?section=htmlareasettings" select (SHIFT+CLICK) the plugins you wish to enable and save the settings.
    5. Open the HTMLAREA Editor (and checkout your new plugins!)

    Hope it is more clear smile
  • Picture of Nadav Kavalerchik
    Sat, Dec 3, 2011, 7:54 PM
    Florin smile
    I have checked the syntax coloring link you recommended. it is indeed interesting and i suppose you can use it by switching to and pasting one of the recommended JS frameworks. it should work.
  • Picture of Nadav Kavalerchik
    Sat, Dec 3, 2011, 7:57 PM
    Gabriela smile

    Please update your plugins. i think i fixed something along those lines, that resemble the issue you report. anyways, please report it to the tracker so i can fix it. ( i accidentally, open this page and saw your post )
  • In my classroom
    Wed, Dec 28, 2011, 12:34 PM
    Hello~ will this work on anything above 1.9? Thank you!
  • Picture of Tilesh Chudasama
    Thu, Jan 12, 2012, 10:02 PM
    Hey Nadav will this work on Moodle 2.2 if not are you going to create a patch that is anytime soon?
  • Picture of Bernd Weichselgartner
    Fri, Mar 9, 2012, 4:58 PM
    Dear Nadav, I saw your comment and Tanya's from Dez 3. I went to the github address you posted and it says there are no downloadable files. I am new to that stuff. What am I doing wrong? Regards, Bernd
  • Picture of German Acevedo
    Fri, Aug 24, 2012, 1:35 AM
    How do I "Apply the Patch"? anybody can give me instructions on this?
    Regards.
  • Picture of Adam Nielsen
    Sun, Jul 7, 2013, 11:37 PM
    Dear Nadav,
    I have the same question as Acevedo: How to apply the patch? Does this plugin work for Moodle 2.x ? Regards, Adam
  • Picture of Nadav Kavalerchik
    Sun, Jul 7, 2013, 11:45 PM
    It's a set of some old plugins for Moodle 1.9 HTMLAREA plugin
    I am not supporting it anymore. Sorry.
    I will be developing new Moodle 2.5 individual plugins in the future.
Please login to post comments