Michael Bar-David wrote:
hi all

I didnt succeed to work with <editor>.

is this syantax OK ?

<editor type="content-primary" id="main-editor" src="http://www.google.com <http://www.google.com>"/>

Go to:
http://ted.mielczarek.org/code/mozilla/xuledit/xuledit.xul

Put the code below into the text box..

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window id="yourwindow" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";>

<editor
        type="content-primary"
        id="main-editor"
        flex="1"
        src="http://www.google.com "/>

</window>


See you're editor :)
You missed off the

flex="1"

bit, but that could equally be achieved with a style

<editor
        type="content-primary"
        id="main-editor"
        style="height: 200px;"
        src="http://www.google.com "/>


_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to