Commit d7ecdb85 authored by justing's avatar justing

Forgot to check in my changes to editing.js



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13061 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c35389ff
......@@ -346,6 +346,21 @@ function justifyRightCommand() {
//-------------------------------------------------------------------------------------------------------
function execInsertHTMLCommand(html) {
document.execCommand("InsertHTML", false, html);
}
function insertHTMLCommand(html) {
if (commandDelay > 0) {
window.setTimeout(execInsertHTMLCommand, commandCount * commandDelay, html);
commandCount++;
}
else {
execInsertHTMLCommand(html);
}
}
//-------------------------------------------------------------------------------------------------------
function execInsertLineBreakCommand() {
document.execCommand("InsertLineBreak");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment