mozdev.org

Mozile (xhtml editing in your browser)    

resources:
What is Mozile?
Mozile or Mozilla Inline Editor is an in-browser, context-sensitive, XHTML editor that allows you to edit all or just specific editable sections of any XHTML page you browse. Mozile can serve as the client-side of a content-editing system or as a self-contained "web word processor".
Is Mozile easy to install and use?
Yes. See the use instructions for how to install and specialize Mozile for your purposes.
Why all the different versions of Mozile?
Frankly, we're not sure what works best yet. Different people may want to use Mozile for different purposes. Since it's an open source project, anyone is welcome to contribute and use the code as he or she sees fit (within the terms of the license). Even though some versions of Mozile see very little development, someone may wish to adapt an older version to a new purpose.
The current version of Mozile is 0.8, which currently works in Firefox 1.5 and Internet Explorer 6 as server-side code. Mozile 0.6 is also being maintained and improved, and it works as an extension for Firefox 1.5. Mozile 0.7 is not being actively developed, but does get bug fixes. It works server-side or as an extension in most recent Mozilla browsers. Mozile 0.5 is no longer being developed.
What's the difference between "server-side" and an "extension"?
"Server-side" means that all the Mozile code is stored on the web-server, and the browser downloads it as needed. No special installation is needed for the browser. An "extension" is a plug-in for the browser that the user has to download and install. Once installed, the code is already sitting in the browser and it doesn't have to be downloaded again.
I want Mozile to mature faster - what can I do to help? (self serving question :-))
Contribute code! Run tests! Report bugs! Improve documentation! Help with internationaliztion! Request a feature! See the contribution page for ways you can help out.
Which versions of Mozilla does Mozile work in?
We do most of our development in Firefox. If the code works in the latest Firefox, then it's likely to work in the latest SeaMonkey. We also try to support Firefox 1.0.x and Mozille 1.7.x, and we do our best to test under Windows, Mac OS X, and Linux. But please realize that it's a lot of work to test and debug every change on a large number of different browsers and operating systems. The less attention any one of them gets, the more likely a bug is.
Mozile 0.8 currently supports Firefox 1.5 and Internet Explorer 6. We are hoping to add support for other browsers to Mozile 0.8 as well. SeaMonkey 1.0, Firefox 1.0, Mozilla 1.7, Camino 1.0, and Opera 9 support most of the features we need, but will have to be extensively tested and debugged. Internet Explorer 7 should also support all the features we need. Safari lacks some required functionality, but development versions are headed in the right direction. Konqueror support is likely to lag behind Safari.
Does Mozile run in IE?
Mozile 0.8 does run in Internet Explorer 6. Previous versions of Mozile do not. Mozile 0.5 and 0.6 include a library called eDOM which was designed with cross-browser compatibility in mind, but that feature was never added. Mozile 0.7 does not use eDOM and makes use of many Mozilla specific technologies.
What is -moz-user-modify?
user-modify is a CSS property defined in a draft CSS 3 standard that allows you to specify whether a page element is modifiable or not. Mozilla added it to its list of CSS properties with the name -moz-user-modify but didn't implement it. Mozile versions before 0.8 use this CSS property to allow a stylesheet to indicate which page elements can be edited. Like other CSS, this property moves the web away from mixing content and style.
What is contentEditable?
In IE 5.5, Microsoft introduced this attribute and its underlying editing functionality to support in-browser or context-sensitive editing. To make a document selectively editable, you add the contentEditable attribute to each editable element. This style of markup is a throw back to the bad old pre-CSS days when all style was embedded in a document's content. With contentEditable="true" you can insert b and font tags using keyboard commands or the execCommand() method.
The content generated is crufty old HTML. Mozile is better because it uses up to date DOM and CSS. Some versions of Mozile allow you to enable editing using the contentEditable attribute, while some do not.
What is designMode?
Mozilla does not support IE's contentEditable feature. Instead, documents have a property called designMode which allows full HTML documents to be edited. The code is descended from Netscape's Composer. Only full documents, and not just parts of documents, can be edited in this way. And like contentEditable, you are limited to crufty old HTML. Mozile 0.8 sometimes makes use of designMode in order to display a cursor, but never to do actual editing.
What is "Caret Browsing"?
Mozilla has an accessibility feature called "Caret Browsing" mode, which can be enabled using the F7 key. When it is on, a cursor is displayed in the document which allows you to navigate and select text without a mouse. Some versions of Mozile make use of the caret as a cursor for editing.
Why do I need to explicitly turn on "Caret Browsing" - why can't Mozile do this for me?
Caret Browsing can be enabled by JavaScript code, but it requires special security privileges; server-side versions of Mozile do not have these privileges, but extensions do. Please press F7 to turn Caret Browsing on and off.
What types of document can Mozile edit?
Mozile supports XHTML editing best. It also supports HTML editing. All versions have some support for editing XHTML content embedded in XML documents. Some versions have support for editing XML generally, although no version does XML editing as well as XHTML editing. Proper XML editing a major goal of the Mozile 0.8 effort.
Can I freely reuse Mozile code in my own project? What license does it carry?
Mozile code carries a triple license for maximum flexibility: MPL, GPL and LGPL. Read it here.
What is "eDOM"
eDOM is a module of editing extensions to the w3c DOM that make it easy to write a variety of CSS-enabled, XML and XHTML editors. Mozile 0.5 and 0.6 make extensive use of eDOM.
Can I protect my pages from editing using a password?
Yes you can, but Mozile can't help you do it. Mozile only allows pages to be edited; it can submit a changed page but it's up to the server to accept the data. Your server can protect a page with a password and with a bit more work you can send all users the page contents but only logged in users the Mozile code. But the most important thing is to only accept changes (save documents) from valid users!
Can I disable editing in a page?
In Mozile 0.8 you can enable and disable editing at any time using the mozile.edit.enable() and mozile.edit.disable() functions. You can use links to call these functions like this:
<a href="javascript:void(mozile.edit.enable())">Enable Editing</a>
<a href="javascript:void(mozile.edit.disable())">Disable Editing</a>

Have more questions or comments? Send an email to the Mozile mailing list.

The mozile project can be contacted through the mailing list or the member list.
Copyright © 2000-2017. All rights reserved. Terms of Use & Privacy Policy.