XStandard Developer's Guide: Web Integration: Step 1

The XHTML WYSIWYG Editor For Desktop & Web Applications

Step 1 - Adding XStandard To The Web Interface

XStandard runs in a Web browser as a plug-in. Plug-ins are added to Web pages using the <object> tag. An example of the <object> tag is below:

  1. <object type="application/x-xstandard" id="editor1" width="100%" height="400">
  2. <param name="Value" value="Hello World!" />
  3. </object>

The type attribute contains a name that instructs the browser to load XStandard. The id attribute contains the ID that you assign to this instance of the editor. If you have multiple editors on the page, you must give each of them a unique ID. The width and height attributes define the dimensions of the editor.

The editor is configured through <param> tags which are inside the <object> tag. In the above example, the text Hello World! will be loaded into the editor. For a complete list of <param> tags, see API Reference.