Issue Details (XML | Word | Printable)

Key: MDL-16698
Type: Sub-task Sub-task
Status: Open Open
Priority: Critical Critical
Assignee: Petr Skoda
Reporter: Martin Dougiamas
Votes: 0
Watchers: 3
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-14589

Formslib element: editor

Created: 26/Sep/08 01:40 PM   Updated: 26/Mar/09 11:04 AM
Return to search
Component/s: Files API, Forms Library, HTML Editor
Affects Version/s: 2.0
Fix Version/s: 2.0

File Attachments: 1. Text File MDL-16698_editor_in_forum.patch (7 kB)
2. Text File MDL-16698_editor_in_forum_2.patch (7 kB)


Participants: Dongsheng Cai, Martin Dougiamas, Petr Skoda and Tim Hunt
Security Level: None
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
The new "editor" form element is similar to the old "htmleditor" component in that it will print an editor for text etc (like tinymce).

In addtion it:

   - requires draftfileareaid, format, current language (and possibly more things later) passed in using JS globals
   - will use the repository filepicker at all input points within the editor interface

Later on we can add:

   - support for special editors for special formats.
   - support conversion of formats (eg into html).

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda committed 2 files to 'Moodle CVS' - 20/Nov/08 05:02 AM
MDL-16698 formslib: skeleton of new editor element - no JS or html editor integration yet
MODIFY lib/formslib.php   Rev. 1.165    (+3 -2 lines)
MODIFY lib/form/editor.php   Rev. 1.2    (+163 -87 lines)
Petr Skoda committed 2 files to 'Moodle CVS' - 20/Nov/08 05:21 AM
MDL-16698 formslib: skeleton of new editor element - no JS or html editor integration yet
MODIFY lib/form/editor.php   Rev. 1.4    (+3 -3 lines)
MODIFY lib/form/editor.php   Rev. 1.3    (+13 -5 lines)
Petr Skoda committed 1 file to 'Moodle CVS' - 20/Nov/08 05:32 AM
MDL-16698 formslib editor element: tweaked maxfiles option
MODIFY lib/form/editor.php   Rev. 1.5    (+3 -3 lines)
Petr Skoda committed 1 file to 'Moodle CVS' - 17/Feb/09 05:54 AM
MDL-16698 towarsd general editor element
MODIFY lib/form/editor.php   Rev. 1.6    (+35 -14 lines)
Petr Skoda committed 9 files to 'Moodle CVS' - 18/Feb/09 01:18 AM
MDL-16698 towards new general editor element + converted course section summaries
ADD course/editsection_form.php   Rev. 1.1    (+0 -0 lines)
MODIFY course/editsection.php   Rev. 1.34    (+22 -29 lines)
MODIFY lib/form/editor.php   Rev. 1.7    (+5 -4 lines)
MODIFY lang/en_utf8/error.php   Rev. 1.166    (+1 -2 lines)
DEL course/Attic/editsection.html   Rev. 1.19    (+0 -0 lines)
MODIFY lib/filelib.php   Rev. 1.128    (+19 -7 lines)
MODIFY course/format/topics/format.php   Rev. 1.95    (+8 -3 lines)
MODIFY index.php   Rev. 1.223    (+9 -5 lines)
MODIFY course/format/weeks/format.php   Rev. 1.88    (+7 -2 lines)
Dongsheng Cai committed 3 files to 'Moodle CVS' - 18/Feb/09 11:18 AM
"FORMSLIB,EDITOR/MDL-16698, add filepicker to editor element"
MODIFY repository/Attic/javascript.php   Rev. 1.53    (+11 -1 lines)
MODIFY lib/form/editor.php   Rev. 1.8    (+29 -15 lines)
MODIFY lib/Attic/javascript.php   Rev. 1.46    (+2 -1 lines)
martignoni committed 1 file to 'Lang CVS' - 01/Mar/09 09:14 PM
MDL-16698 Comment added for deletion of string
MODIFY fr_utf8/error.php   Rev. 1.169    (+2 -2 lines)
Dongsheng Cai committed 3 files to 'Moodle CVS' - 26/Mar/09 11:52 AM
"EDITOR/MDL-16698, replace htmleditor element with editor element in forum, move draft files to correct file area"
MODIFY mod/forum/lib.php   Rev. 1.776    (+16 -3 lines)
MODIFY mod/forum/post.php   Rev. 1.182    (+12 -3 lines)
MODIFY mod/forum/post_form.php   Rev. 1.37    (+2 -5 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 18/Jun/09 02:52 PM
"MDL-16698, use non-js filepicker to pick up files"
MODIFY lib/form/editor.php   Rev. 1.14    (+7 -7 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 08/Oct/09 03:00 PM
"MDL-16698, fixed patameter for editor element"
MODIFY lib/form/editor.php   Rev. 1.25    (+5 -2 lines)