1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 09:08:10 +01:00

Cc/Ci/Cr/Cu

This commit is contained in:
Kris Maglione
2008-12-16 19:06:26 -05:00
parent 59ab76cead
commit 18d4f74b6e
13 changed files with 110 additions and 151 deletions

View File

@@ -874,7 +874,7 @@ function Editor() //{{{
//document.getElementById("content-frame").contentDocument.designMode = "on";
let editor = GetCurrentEditor();
let wholeDocRange = editor.document.createRange();
let rootNode = editor.rootElement.QueryInterface(Components.interfaces.nsIDOMNode);
let rootNode = editor.rootElement.QueryInterface(Ci.nsIDOMNode);
wholeDocRange.selectNodeContents(rootNode);
editor.selection.addRange(wholeDocRange);
editor.selection.deleteFromDocument();