takes several fields, in this example: Title, Body, OnSubmit, where you in Body. TinyMCE supply a very useful lib, so by using, you may build a nice dialog form. Scripts, conditional comments, etc, cant be used within these elements. addCommand is triggered from your button registration when button clicked, check cmd: tinymcecustombutton in example above. Moodle ships with two HTML editor components: HTMLarea, which is enabled by default, and TinyMCE, which you can choose to use instead on the admin screens. This options allows you disable the Dimensions input fields in the media dialog. lib/editorlib.php supports this, and makes different types of editors plug-in-able. The bad news is that HTMLarea has been 'discontinued'. That is, it is no longer available for download, or meing actively developed. So when it comes to bugs like MDL-7043, we are on our own. There are various technical reasons stopping us from switching to TinyMCE by default. I'm not entirely sure, but I think the issue might be that despite the name, TinyMCE is huge, and leads to slow download times.Īlso, I think that we have done some Moodle-specific customisations to HTMLarea, for example making it possible to choose course files in the insert image dialogue box. Trying to find out what had happened to HTMLarea, I discovered that is now a site that lists other HTML editor components, most of which are commercial, however, there are three leading open-source options: This is good for Moodlers, but makes it harder for us to switch to another editor. TinyMCE is still under active development (last release 14th May 2007), and gets a rating of 8.92 from 117 votes. Xinha: thanks to the magic of open source, when the original makers discontinued HTMLarea, the community stepped in and continiued development under this new name (Xinha is not HTMLarea). It is licensed under the old HTMLarea license, which is a variant of the BSD licence.įCK Editor: Also actively developed with the most recent release 14th June 2007. Print public windowManager : tinymce.WindowManager Window manager reference, use this to open new windows and dialogs. Each panel can contain panel components, which are either layout components or basic components such as inputs, buttons and text. Available under of choice of GPL, LGPL or MPL licences. The body of a dialog must be either a panel (a single panel) or a tabpanel (a collection of panels). I once talked to some people who had successfully got FCK editor working with moodle, and they said it was easy. These three options all only support Firefox and IE.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |