WYMEditor
Summary
- There are 10 posts — by 5 authors — in this topic.
-
Posts with files From File Date John S Veitch 2007 Oct 18 03:05 UTC - Latest post made by Michael JasonSmith at 2007 Oct 18 03:22 UTC
Hi All, I've had a first go at implementing WYMEditor for editing the site intro text. From an architecture pov, WYMEditor is located in the GSContent/browser/javascript folder along with the rest of the javascript, which is fine. The only thing that I'm less happy about is that the script tags to load all the WYMEditor stuff (plus jQuery which it seems to need) had to go in the document head, so I've just added them to groupserver_layout.pt for now. Ideally they'd get loaded dynamically if the page needed them, i.e., if there was a WYMEditor on the page, although I guess if we're agressively caching them it should be less of a problem. I can probably work out how to dynamically load them if necessary, though. Any thoughts ?
A.
I should give some background to Andrew's post. In the development roadmap for GroupServer, there is an item scheduled for Sorbet: Content editor, so non-ZMI users can edit pages. http://groupserver.org/groupserver/roadmap/#sorbet There is a couple of reasons that non-ZMI users need to edit pages. First, so more structured information can be placed in a user's biography, on the group homepages, and the site homepages. Second, the *filing* task — organising documents by some sort of taxonomy, like books in a library — is not well supported by GroupServer. Instead, GroupServer tends to make *piles* of documents, which are arranged in a temporal order http://groupserver.org/s/index.html?&t=0&p=0&f=1 http://groupserver.org/s/index.html?&t=0&p=1&f=0 http://groupserver.org/s/index.html?&t=1&p=0&f=0 The editor that we are thinking of using is WYMeditor http://www.wymeditor.org/en/ It is simple, and creates nicely structured code that works with the templates that GroupServer uses. For example, there is no ability to change the typeface, or the size of the text! From what I can recall, WYMeditor has scope for tweaking the interface, so it looks and behaves more GroupServer (Andrew?) The biggest down side that I can see with WYMeditor, initially, is that the user must understand styles. From the documents that I have seen people produce in Microsoft Word, I have a fear that styles are not commonly used, so there will be no transfer of knowledge from one interface to another.
On Wed, 2007-10-03 at 10:42 +1300, Michael JasonSmith wrote: > The editor that we are thinking of using is WYMeditor > http://www.wymeditor.org/en/ > It is simple, and creates nicely structured code that works with the templates that GroupServer uses. For example, there is no ability to change the typeface, or the size of the text! From what I can recall, WYMeditor has scope for tweaking the interface, so it looks and behaves more GroupServer (Andrew?) Yup, you can style it to your hearts content. You can also remove toolbar options you don't like, e.g., indent, tables. Cheers, Andrew.
Can, we rename "containers" to "paragraph styles"? And what about we restrict the headings to "Heading" and "Sub-heading", ie H2 and H3?
Hi Dan, On Fri, 2007-10-05 at 17:00 +1300, Dan Randow wrote: > Can, we rename "containers" to "paragraph styles"? > > And what about we restrict the headings to "Heading" and "Sub-heading", ie H2 and H3? I've just committed these changes. There's one little feature still on the toolbar for tidying up Word HTML that we need to decide about. It seems this is a plugin that sends the HTML to a server for tidying up. The server side of things is currently a PHP script. >From what I recall about CMS things, copying and pasting from Word is a pretty common activity, so it might be worth considering how we're going to handle it at some stage. Actually, I just committed a change to remove it from the toolbar for now, so we just need to think about whether we want it down the track - maybe add it to your Trac ? :-) (do I have access to that, btw ?)
A.
On Wed, 2007-10-10 at 15:20 +1300, andrew wrote: > On Fri, 2007-10-05 at 17:00 +1300, Dan Randow wrote: > > Can, we rename "containers" to "paragraph styles"? > > > > And what about we restrict the headings to "Heading" and "Sub-heading", ie H2 and H3? > > I've just committed these changes. There's one little feature still on > the toolbar for tidying up Word HTML that we need to decide about. It > seems this is a plugin that sends the HTML to a server for tidying up. > The server side of things is currently a PHP script. If that is the case ... we could probably integrate it so that it isn't a separate toolbar feature (ie. when you submit it, it either tries to do that kind of tidy anyway, or it asks). > >From what I recall about CMS things, copying and pasting from Word is a > pretty common activity, so it might be worth considering how we're going > to handle it at some stage. > > Actually, I just committed a change to remove it from the toolbar for > now, so we just need to think about whether we want it down the track - > maybe add it to your Trac ? :-) (do I have access to that, btw ?) Yes, I think so. Same user and password as for subversion, at https://svn.iopen.net/projects/groupserver/
--Richard
Thanks to Andrew's work on WYMeditor integration, the first few pages are using it! The initial roll-out is to the Edit Site Introduction page, and the equivalent fields in Start a Site on OnlineGroups.Net. For example, the Review page http://onlinegroups.net/products/start_site/sitereview?sitename=ldots&subdomain=ldots&introduction=%3Cp%3EI%20am%20a%20fish.%20I%20like%20to%20swim%20in%20the%20sea.%3C/p%3E (Note, that the site "ldots" already exists, so you cannot start it!) A huge round of thanks to all the work that Andrew put in to getting WYMeditor working with GroupServer, and to the authors of WYMeditor http://www.wymeditor.org/en/
On Thu, 2007-10-18 at 11:51 +1300, Michael JasonSmith wrote: > A huge round of thanks to all the work that Andrew put in to getting > WYMeditor working with GroupServer, and to the authors of WYMeditor > http://www.wymeditor.org/en/ Thanks Andrew. And yes, definitely thanks to the authors of WYMEditor (and generally everyone who releases OSS for the world to use and improve!)
--Richard
Michael JasonSmith wrote: http://onlinegroups.net/products/start_site/sitereview?sitename=ldots&subdomain=ldots&introduction=%3Cp%3EI%20am%20a%20fish.%20I%20like%20to%20swim%20in%20the%20sea.%3C/p%3E (Note, that the site "ldots" already exists, so you cannot start it!) That looks great. Thanks team. I was looking for the opportunity to use it to make a profile page that's readable. Perhaps not a big priority. Most profile pages have no additional information at all. Then again if people could make profile pages that were at least easily readable perhaps more people would. (Even just a way to force line breaks would be good.)
John
The following file was added to this topic:
There is plans to add the WYMeditor to the profile page, but it is not a simple task. To work, the pages have to be converted out of the GroupServer specific Joshbook mark-up to XHTML1. I spent most of yesterday converting the site homepages on OnlineGroups.Net, which is doable because there are relatively few sites, and fewer with text on the homepage. I will look at adding WYMeditor to the profile pages after I rewrite registration, as that will give me a big start on the work that I need to do for the profile page!
Loading…
Privacy | Acceptable Use | Terms of Service | About OnlineGroups.Net | Contact OnlineGroups.Net
Start an OnlineGroups.Net site for easier email collaboration in your organization.
Powered by GroupServer, the open source web-based mailing list manager.
