Re:

de Jacob Romeyn -
Número de respuestas: 5

The rich text editor for the uploaded files is a great addition cool.gif. But the graphics do show up in the editor.surprise.gif

On the resource page the graphic looking at the properties  is at:

http://thekingscentre.org/moodle/file.php/2/test/coreldraw.jpg

 

And at the uploaded file richtext editor it shows the file at:

http://thekingscentre.org/moodle/lib/rte/coreldraw.jpg

 

 

Promedio de valoraciones: -
En respuesta a Jacob Romeyn

richtext editing of uploaded files

de Martin Dougiamas -
Imagen de Core developers Imagen de Documentation writers Imagen de Moodle HQ Imagen de Particularly helpful Moodlers Imagen de Plugin developers Imagen de Testers
I don't quite understand what you mean. Does it show up broken in the editor? Does it still work again when you look at it as a resource?
En respuesta a Martin Dougiamas

Re: richtext editing of uploaded files

de Jacob Romeyn -

No it shows the graphics as empty boxes when you go to the uploaded files and then go to the  edit.

But if you enter the page normaly as a student,  the graphics are present.  

You still have the access to the site Martin,  I have not changed the password and login after I gave you access. Take a look.

There is only one course file on the site.

 

En respuesta a Jacob Romeyn

Re: richtext editing of uploaded files

de Martin Dougiamas -
Imagen de Core developers Imagen de Documentation writers Imagen de Moodle HQ Imagen de Particularly helpful Moodlers Imagen de Plugin developers Imagen de Testers
Ah, I see it. Basically the Richtext editor is assuming that graphics with relative URLs are relative to the richtext editor directory, not to the original file.

Tricky one.

I'd appreciate someone's help in digging through the Richtext editor code to solve this ...
En respuesta a Martin Dougiamas

Re: richtext editing of uploaded files

de Ray Kingdon -

The richtext editor looks great and probably it's OK for small chunks of text but it's a nightmare when it gets hold of a uploaded web page. It stripped the header with the loss of the CSS and rubbished all the links. Links which originally pointed to <file> were rewritten as http://sitename/lib/rte/<file>. To rub salt in the wounds manually editing the links to strip to http://sitename/lib/rte bit didn't work, the links were rewritten on saving the page!

Thank goodness you can turn it off on a user basis, great option! Use with caution, perhaps the pop-up box should contain a health warning?

En respuesta a Ray Kingdon

Re: richtext editing of uploaded files

de Martin Dougiamas -
Imagen de Core developers Imagen de Documentation writers Imagen de Moodle HQ Imagen de Particularly helpful Moodlers Imagen de Plugin developers Imagen de Testers
Yes it's really not intended as a real web page editor, but rather a richtext editor that just uses HTML ... if you see what I mean.

Something should be done about the links though ... I think I had a quick look at the Richtext code once to try and fix the link thing but ran out of time.

Yes, there probably needs to be some help there to explain all this and recommend external web editors. Note that the moodle data filespace can be shared using SMB, Appletalk, NFS etc and edited directly from a remote desktop system.

Something also on my wishlist is to have direct access with Composer in Mozilla. pensativo