View the latest version of these documents: http://mozile.mozdev.org/0.7/docs/index.html

Welcome to Mozile, the WYSIWYG XHTML editor for Mozilla! This document is supposed to be a design specification for the Mozile 0.7 series of releases, describing the function of the Mozile Core. However, it is far from being complete at this point in time, and much of what it does contain does not apply to the Mozile 0.7 series. It is a work in progress, and we welcome suggestions and contributions.

Documents

  1. Mozile Documentation - A General Introduction to Mozile
  2. Mozile Development - Notes on the Development of Mozile
    1. JavaScript - JavaScript resources
    2. DOM - Document Object Model resources
    3. XUL - Extensible User-Interface Language resources
    4. XBL - Extensible Binding Language resources
    5. JSDoc - JSDoc documentation resources
    6. JSUnit - JSUnit testing framework resources
  3. Mozile Design - An explanation of the design of Mozile
    1. Mozile Usage - A description of how Mozile is used (behaviour specification)
    2. Mozile Core - A description of the Mozile Core code
    3. Mozile Modules - A description of the Mozile Modules
    4. Mozile Server-Side - A description of the Mozile Server-Side code
    5. Mozile Extension - A description of the Mozile Extension code
    6. mozileEditor Object - A description of the mozileEditor object
    7. mozileContainer Object - A description of the mozileContainer object
    8. mozileExtension Object - A description of the mozileExtension object

Contents

  1. mozileEditor Object
    1. How it Works
    2. Editor Modes
    3. Editor Options
    4. Properties
    5. Methods

mozileEditor Object

How it Works

Editor Modes

The most basic way to configure a mozileEditor object is to set it's mode. Modes are preset packages of options, configured for the most common uses of Mozile.

textonly

In this mode Mozile will only allow the user to add and remove text. No tags can be added, and no attributes can be changed. The Mozile toolbar won't be shown, but when the user clicks in an editable area the cursor will appear. It's important for web designers to style the editor in a distinctive way so the user can tell that the area is editable.

Setting mode=textonly is equivalent to setting mes=textonly, multiline=false, toolbar=none.

basic

In basic mode the user will only have the option to add simple formatting tags, like bold, italic, and underline.

Setting mode=basic is equivalent to setting mes=basic, multiline=false.

standard

This mode includes full XHTML editing

Setting mode=standard is equivalent to setting mes=standard, multiline=true.

Editor Options

There are many options that can be used to customize the behaviour of the mozileEditor object. Items marked with a * require the Mozile Extension.

Mozile Editor Options

Properties

Methods

James A. Overton - http://mozile.mozdev.org - 2005-03-23