turn on editor context menus (though they are not done yet)

This commit is contained in:
brade%netscape.com 2000-05-10 21:02:28 +00:00
Родитель 302c33deee
Коммит 80e864ba4c
1 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -16,7 +16,7 @@
-
- The Initial Developer of the Original Code is Netscape
- Communications Corporation. Portions created by Netscape are
- Copyright (C) 1999 Netscape Communications Corporation. All
- Copyright (C) 1999-2000 Netscape Communications Corporation. All
- Rights Reserved.
-
- Contributor(s):
@ -27,6 +27,7 @@
<?xml-stylesheet href="chrome://editor/skin/" type="text/css"?>
<?xul-overlay href="chrome://editor/content/editorOverlay.xul"?>
<?xul-overlay href="chrome://editor/content/EditorContextMenuOverlay.xul"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://global/content/tasksOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xul"?>
@ -51,9 +52,12 @@
<script language="JavaScript" src="chrome://editor/content/editor.js"/>
<script language="JavaScript" src="chrome://editor/content/ComposerCommands.js"/>
<script language="JavaScript" src="chrome://editor/content/EditorCommandsDebug.js"/>
<script language="JavaScript" src="chrome://editor/content/EditorContextMenu.js"/>
<script language="javascript" src="chrome://global/content/strres.js"/>
<script language="JavaScript" src="chrome://navigator/content/nsContextMenu.js"/>
<popupset id="aTooltipSet" />
<popupset id="editorContentContextSet"/>
<commands id="commands">
<commandset id="globalEditMenuItems"/>
@ -195,7 +199,7 @@
<box id="appcontent" orient="vertical" flex="1">
<deck id="ContentWindowDeck" index="0" flex="1">
<editor type="content-primary" id="content-frame" src="about:blank" flex="1"/>
<editor type="content-primary" id="content-frame" src="about:blank" context="editorContentContext" flex="1"/>
<textfield class="source-editor" id="content-source" multiline="true" rows="1"
flex="1" style="width:1em; height:1em;"/>
</deck>