Idea : an ajax HTML editor will be great

Idea : an ajax HTML editor will be great

von Philippe Ramette -
Anzahl Antworten: 8
It wil be great that somebody create or find an HTML editor with ajax technology. like this one : http://www.ajaxlaunch.com/ajaxwrite/

When you use this editor, you will never come back to the old one.

Any suggestions ??
Als Antwort auf Philippe Ramette

Re: Idea : an ajax HTML editor will be great

von M Y -
I think that is a great idea. I agree, I would never go back.

--Martin
Als Antwort auf M Y

Re: Idea : an ajax HTML editor will be great

von Marcus Green -
Nutzerbild von Core developers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Plugin developers Nutzerbild von Testers
What benefit does AJAX bring to the use of an editor?
Als Antwort auf Marcus Green

Re: Idea : an ajax HTML editor will be great

von Jan Dierckx -

One benefit I see is how it would enable you to edit part of a course without having to reload the page.

Instead of ...

  • click the pencil icon

  • wait for reload of the page

  • edit the text, hit Save

  • wait for the reload of the page

one could just click on an icon (or even double click the text itself) and then be allowed to edit it. The changed text is then submitted to Moodle's database without the page needing reloading.

(Dojo has a nice Rich text editor widget but unfortunately dojo is too hard to grasp (or at least too difficult to me to use it)

Problem with an ajax editor is that you would need to load the HTML editor on almost any Moodle page even if you would not use it.

The editor (or wordprocessor) mentioned in this discussion is not usable because of this. The site mentions a 6 second downloas as a benefit (!!). It is a huge 400 Kb download, which according to me is unacceptable for an editor, even if most browsers would cache it.

One alternative that I find promising is to use plain textarea's with ajax submit, because they don't have huge loading times. You can use Moodle's markdown syntax to write links, lists, styled text, ... or you can use something like Xinha! a Firefox (sorry only Firefox gemischt) addon which enables you to use a Rich text editor in every textarea. The addon is part of your browser so doesn't need to be loaded.

Als Antwort auf Philippe Ramette

Re: Idea : an ajax HTML editor will be great

von Joseph Rézeau -
Nutzerbild von Core developers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Plugin developers Nutzerbild von Testers Nutzerbild von Translators
OOPS! — Firefox 1.5 (or higher) Required for ajaxWrite...
It may be a problem to adopt for Moodle an HTML editor which is not (not yet?) cross-browser. sad
Joseph
Als Antwort auf Philippe Ramette

Re: Idea : an ajax HTML editor will be great

von Michael Goncharenko -

Does that editor:

  1. Allow to insert images into document via copy-paste?
  2. Provide better functionality that HTMLArea and TinyMCE both? (e.g., not leaving <strong> tags so I need to travel through the code looking for them)
  3. Work under IE? Not every user is able/permitted to install mozilla-firefox.
  4. NOT crash my browser (and all its open tabs!!) when I insert there an image from Adobe Photoshop with Ctrl-C - Ctrl-V?

If not, there's no reason to use that editor. Even if it's AJAX.

Als Antwort auf Michael Goncharenko

Re: Idea : an ajax HTML editor will be great

von Jan Dierckx -

I doubt if it would ever be possible to copy paste images like that. Somehow the image has to get on the server Moodle is on, so you need to somehow upload it... gemischt

Would of course be extremely useful...

Als Antwort auf Jan Dierckx

Re: Idea : an ajax HTML editor will be great

von Michael Goncharenko -

A while ago I have seen an ActiveX thing that (afair) uploads text+images to web server. But it was commercial.

Als Antwort auf Philippe Ramette

Re: Idea : an ajax HTML editor will be great

von Janne Mikkonen -
It doesn't help much if the editor has "save 'n' continue" kind of "ajax" functionality. Moodle has to support it too ( data has to come back to editor ).

First step should be to define "which" parts of Moodle should support this functionality?

- Janne -