HTML editor and Linux/Mac

HTML editor and Linux/Mac

oleh stefano federici -
Jumlah balasan: 18

I have no Linux and Mac available, so I would like to know if the Moodle integrated HTML editor is compatible with at least one Linux one and Mac browser. And, if someone know, if Moodle works for Linux and Mac (I cannot find a "requirements" page on the Moodle site).

Thanks in advance for any info.

Rata-rata penilaian: -
Sebagai balasan stefano federici

Re: HTML editor and Linux/Mac

oleh Marcus Green -
Gambar dari Core developers Gambar dari Particularly helpful Moodlers Gambar dari Plugin developers Gambar dari Testers
I am typing this from SuSe Linux running Mozilla Firefox 2.0.0.6 with the HTML editor capable of doing things like bold and italics (oooh Ctrl B, Ctrl U worked)

Right align

The other potential browsers are

  • Opera
  • Konquerer
That was me testing the bullet point button.

Marcus



Sebagai balasan Marcus Green

Re: HTML editor and Linux/Mac

oleh Marcus Green -
Gambar dari Core developers Gambar dari Particularly helpful Moodlers Gambar dari Plugin developers Gambar dari Testers
And when I fire up Konquere the Wysiwyg editor doesn't show up, I assume that is because the browser is detected and not supported by the editor.
Sebagai balasan Marcus Green

Re: HTML editor and Linux/Mac

oleh Marc Grober -
Mauno was doing some great work with rapid deployment vis-a-vis possible editors for Moodle 2.0. I am not sure how much of hsi code is still posted, but I think the version of xinha, which is a drop-in replacement for htmlare still is, and I think there was a link for a version with access to FCK and tinyMCE as well....

Mauno, is that work still posted in a the forum somewhere?
Sebagai balasan Marc Grober

Re: HTML editor and Linux/Mac

oleh Mauno Korpelainen -

I haven't been active with updating the editor code during the summer since moodle 2.0 had a different approach to change site default editor and most of my test integrations were based on user/theme based editor selection. Testeditors Xinharepl and xinharepla (xinha with asciimathml plugin) should still work with any version of moodle 1.7-1.9, the package was just replacing htmlarea (the folder lib/editor/htmlarea) with xinha and the only change needed to support latest versions of Opera and Safari was in moodlelib.php and function can_use_html_editor. Those packages do not change any core code of moodle so renaming lib/editor/htmlarea and installing xinharepla(a) to the same place was an easy way to test Xinha. Link to that old file is found from http://moodle.org/mod/forum/discuss.php?d=96160#p425714

Konqueror has no editing support from current free editors. There are rumors that they will be moving to WebKit, which could make Konqueror to work with TinyMCE, (F)CKEditor and Xinha. See for example http://wiki.moxiecode.com/index.php/TinyMCE:Compatiblity

Support

Tinymce of moodle 2.0 should be able to work with all those browsers when moodle 2.0 is ready...

Sebagai balasan Mauno Korpelainen

Re: HTML editor and Linux/Mac

oleh Larry Elchuck -
Not to highjack this thread, just to follow-up on your response.

I was about to ask a similar question Mauno, because I used your code with the 1.9 or 1.91 ... particularly interested with the dragmath integration, as several of my users requested it.

My real site is now latest cvs of 1.92. But on the same box, I was running a second htdocs folder /m19beta vs m19) which accesses the same db and moodledata folder.

If I cvs update this folder, should sending some users to this folder to do their dragmath integration cause me any problems with the code that you last generated in the spring.

You did some great work to address the use of alternate html editors. Mauno

thanks
larry
Sebagai balasan Larry Elchuck

Re: HTML editor and Linux/Mac

oleh Mauno Korpelainen -

Using the same moodledata and tables of database with two different versions of moodle may cause problems - not because of different editor files but for (possibly) different files of moodle (settings,formats,filters,fields of tables of database...) It's safer to use only one moodle for one database and one moodledata.

It would take only about 1-2 hours to update the code for moodle 1.9.2+ latest weekly with all changes/bug fixes to tinymce and fckeditor (latest versions) included (Xinha might stay as it is now for a while...) I know also that many people who have tested dragmath and asciimathml with the full editor package and some additional plugins wish that I could upgrade the package.

Still the best solution would be that dragmath could be included to core moodle 1.9 both in cvs and weekly packages and structure of moodle could allow changing editor with standard plugin like structure and therefore I thought in the spring that it's better to wait for 2.0 integration of Tinymce to get ready ( = let Mathieu and developers from OU work in peace ) than try to push a different integration for 1.9...

Sebagai balasan Mauno Korpelainen

Re: HTML editor and Linux/Mac

oleh Marc Grober -
Hey Mauno.....

I was wondering about whether there would be adequate locking when discussing using two different moodles with same moodledata and db..... suggested that a developer comment but got no hits ;=} I am still not sure that this is something to recommend to folks (i.e. it would undoubtedly work fine until there was a conflict, which might not take place from some time.... How did you test and should we asctually put this in tracker for someone to certify??

As far as your comments about htmleditor development.... Yóu know how I feel about this..... so won't belabor it.... but it seems to me that there is no one who has yet objected to dragmath going core and there is no reason not to implement /common and a coredragmath in 1.9, and there has been only one comment regarding not moving asciimathml to core, and that ony invited some discussion as to whether this was necessary, but nothing further adverse presented itself...... though a recent comment about IT staff making it difficult for client side scripting raised the question of whether it might not be appropriate to do something server side...... but that is in a sense academic...

uh-oh! we hijacked another thread.... sorry!
Sebagai balasan Marc Grober

Re: HTML editor and Linux/Mac

oleh Mauno Korpelainen -

Marc,

about that quick testing - I simply tested with a demo course using two folders m19a and m19b and config.php had the same database, same moodledata folder and same core files from moodle 1.9.2+ latest

Both folders were using the same cookies, same fields of tables in database and same settings so the only problem I can see is that another moodle has some non standard activity and standard version can show some errors because of the missing 3rd party activity. I can imagine that if another version had for example standard moodle 1.9.2 wiki and the parallel version had NWiki moodle would most likely have problems with standard wiki. Editors don't change the structure of tables in database and dragmath is just a plugin that adds maths to editor so this kind of modifications should not be dangerous.

Using one moodle for one database and one moodledata is certainly safer - still all standard resources I tested seemed to work ok and I could not find any problems... smile

Sebagai balasan Larry Elchuck

Re: HTML editor and Linux/Mac

oleh Mauno Korpelainen -

If you use one moodle (cvs 1.9.2+) without dragmath and another moodle (cvs 1.9.2+) with dragmath (and some other modifications to cvs 1.9.2+ code) they should be able to use the same database and same moodledata without problems... I'm not sure if cookies could cause some troubles...

EDIT: No problems - I just tested.

Sebagai balasan Mauno Korpelainen

Re: HTML editor and Linux/Mac

oleh Larry Elchuck -
So it sounds like I could do
  • /m19 as current cvs with my modded files (+ html editor) and
  • /m19beta as current cvs with my modded files + tinymce + dragmath
using the same db and moodledata as long as I update both at the same time.

Thanks Mauno
larry

Sebagai balasan stefano federici

Re: HTML editor and Linux/Mac

oleh Marc Grober -
Safari will present problems with htmlarea, pre-moodle 2.0 editor - you will at least get text editor window, but not html editor. However, if you replace the htmlarea code with xinharepla code I believe you can get safari working. The threads have gotten very tangled, but you can search on Mauno's name and html editor.

Firefox will work with htmlarea on any platform I believe as long as the version is 2.x +, so as Marcus noted it will work with firefox on linux, unix, etc.

As far as Moodle working for linux or Mac, are you talking server side or client side? Client side Moodle does not have its own client, but relies on a browser (though you may need various plugins for various content). Server side should run on any linux and runs on Mac as well, and there are packages for installation on OS X. Server side requirements are covered in the installation doc, http://docs.moodle.org/en/Installing_Moodle, though there has been discussion that this could be beefed up a bit.....
Sebagai balasan Marc Grober

Re: HTML editor and Linux/Mac

oleh Steve Towson -
WYSIWYG editor on FF 3 under Ubuntu 8.04 was working fine until this morning. Now it's disappeared. Installed FF2 and the editor doesn't work on that either. Tried clearing the cache and rebooting etc but nothing works. Anyone else experiencing issues?
Sebagai balasan Steve Towson

Re: HTML editor and Linux/Mac

oleh Mathieu Petit-Clair -
Gambar dari Core developers Gambar dari Moodle HQ Gambar dari MoodleCloud team Gambar dari Plugin developers Gambar dari Testers
Hi Steve,

Please open an issue in the bug tracker, giving a bit more information: the version of Moodle you are using, the platform on which it runs, what you mean exactly by "disappeared".

It's working fine for me, in both 1.9 and HEAD, with FF3 under Ubuntu.

Mat
Sebagai balasan Steve Towson

Re: HTML editor and Linux/Mac

oleh Steve Towson -
Fixed - FF cache issue.
Sebagai balasan Steve Towson

Re: HTML editor and Linux/Mac

oleh Ulrich Poeschl -
hello,

I have the same problem.
tried 3 different machines now. all with ubuntu 8.04 + firefox, but the WYSIWYG-component doesn't appear anymore.

what did you do to solve this cache-issue?

cheers,
Ulrich

PS: interestingly enough, the WYSIWYG-editor works with THIS moodle-intance...


Sebagai balasan Ulrich Poeschl

Re: HTML editor and Linux/Mac

oleh Steve Towson -
I deleted the cache in the user's profile. Just clearing it through Firefox's menu wasn't enough.

I hope that helps.

Steve
Sebagai balasan stefano federici

Re: HTML editor and Linux/Mac

oleh stefano federici -

So the HTML editor embedded in Moodle (in the version of Moodle running on Moodle website; BTW, which version is running on the website?) is known to run at least on SuSe Linux running Mozilla Firefox 2.0.0.6.

But it is still not clear to me if it runs on at least one web browser for MacOS (or if it can easily been replaced with xinha so that it will run on Windows/Linux/MacOS).

Thanks for your help