diff --git a/editor/ui/composer/content/editor.js b/editor/ui/composer/content/editor.js index 0935711364e..88c68b03192 100644 --- a/editor/ui/composer/content/editor.js +++ b/editor/ui/composer/content/editor.js @@ -834,14 +834,6 @@ function CheckAndSaveDocument(command, allowDontSave) // --------------------------- File menu --------------------------- -function EditorNewPlaintext() -{ - window.openDialog( "chrome://editor/content/TextEditorAppShell.xul", - "_blank", - "chrome,dialog=no,all", - "about:blank"); -} - // Check for changes to document and allow saving before closing // This is hooked up to the OS's window close widget (e.g., "X" for Windows) function EditorCanClose() diff --git a/editor/ui/composer/content/editor.xul b/editor/ui/composer/content/editor.xul index 57e4ea25ad3..840df269d06 100644 --- a/editor/ui/composer/content/editor.xul +++ b/editor/ui/composer/content/editor.xul @@ -79,7 +79,6 @@ persist="screenX screenY width height sizemode"> - @@ -183,10 +182,6 @@
- - - - diff --git a/editor/ui/composer/content/editorOverlay.xul b/editor/ui/composer/content/editorOverlay.xul index 7e25d1b33ba..2ba1dbfab12 100644 --- a/editor/ui/composer/content/editorOverlay.xul +++ b/editor/ui/composer/content/editorOverlay.xul @@ -916,77 +916,4 @@ --> - - - - diff --git a/editor/ui/jar.mn b/editor/ui/jar.mn index dcb5f403253..ea14f85be63 100644 --- a/editor/ui/jar.mn +++ b/editor/ui/jar.mn @@ -14,16 +14,12 @@ comm.jar: * content/editor-region/contents.rdf (composer/content/contents-region.rdf) #endif content/editor/editor.xul (composer/content/editor.xul) - content/editor/TextEditorAppShell.xul (composer/content/TextEditorAppShell.xul) content/editor/editor.js (composer/content/editor.js) content/editor/publishprefs.js (composer/content/publishprefs.js) content/editor/editorUtilities.js (composer/content/editorUtilities.js) content/editor/ComposerCommands.js (composer/content/ComposerCommands.js) - content/editor/EditorCommandsDebug.js (composer/content/EditorCommandsDebug.js) content/editor/EditorContextMenu.js (composer/content/EditorContextMenu.js) content/editor/EditorContextMenuOverlay.xul (composer/content/EditorContextMenuOverlay.xul) - content/editor/EditorInitPage.html (composer/content/EditorInitPage.html) - content/editor/EditorInitPagePlain.html (composer/content/EditorInitPagePlain.html) content/editor/EditorExtra.css (composer/content/EditorExtra.css) content/editor/EditorAllTags.css (composer/content/EditorAllTags.css) content/editor/EditorParagraphMarks.css (composer/content/EditorParagraphMarks.css) diff --git a/editor/ui/locales/en-US/chrome/composer/editor.dtd b/editor/ui/locales/en-US/chrome/composer/editor.dtd index 3367184c868..2433a38308e 100644 --- a/editor/ui/locales/en-US/chrome/composer/editor.dtd +++ b/editor/ui/locales/en-US/chrome/composer/editor.dtd @@ -39,7 +39,6 @@ - diff --git a/editor/ui/locales/en-US/chrome/composer/editorOverlay.dtd b/editor/ui/locales/en-US/chrome/composer/editorOverlay.dtd index 0da27b8575d..a5c471f8d74 100644 --- a/editor/ui/locales/en-US/chrome/composer/editorOverlay.dtd +++ b/editor/ui/locales/en-US/chrome/composer/editorOverlay.dtd @@ -486,28 +486,6 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/suite/debugQA/content/debugQAEditorOverlay.js b/suite/debugQA/content/debugQAEditorOverlay.js index 317640aaefe..88ca9c4a976 100644 --- a/suite/debugQA/content/debugQAEditorOverlay.js +++ b/suite/debugQA/content/debugQAEditorOverlay.js @@ -567,3 +567,10 @@ function ExecuteJSTransactionViaEditor() } } +function EditorNewPlaintext() +{ + window.openDialog( "chrome://debugqa/content/debugQATextEditorShell.xul", + "_blank", + "chrome,dialog=no,all", + "about:blank"); +} diff --git a/suite/debugQA/content/debugQAEditorOverlay.xul b/suite/debugQA/content/debugQAEditorOverlay.xul new file mode 100644 index 00000000000..f14e909c1e6 --- /dev/null +++ b/suite/debugQA/content/debugQAEditorOverlay.xul @@ -0,0 +1,142 @@ + + + + +%debugQAEditorOverlayDTD; + +%editorOverlayDTD; +]> + +