Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command identifiers supported by execCommand in Safari 1.3



Not such a big deal after all. I mistakenly thought InsertTable is part of the spec. So to answer my own question, to do this I insert this at the selection. 

        var table = doc.createElement("table");

        for (var i = 0; i < rows ++i) 
         {
            var tr = doc.createElement("tr");
            table.appendChild(tr);
    
etc...

 I could probably do the same for insertImage and createLink. 



On May 12, 2005, at 2:48 PM, Paul Ossenbruggen wrote:

Eek! What about createLink, insertimage, inserttable? Is there another way to do the equivalent? This are important for developing an RTE. I guess I will file another bug.

- Paul

On May 12, 2005, at 11:30 AM, Darin Adler wrote:

BackColor
Bold
Copy
Cut
Delete
FontName
FontSize
FontSizeDelta
ForeColor
ForwardDelete
Indent
InsertLineBreak
InsertParagraph
InsertText
Italic
JustifyCenter
JustifyFull
JustifyLeft
JustifyNone
JustifyRight
Outdent
Paste
PasteAndMatchStyle
Print
Redo
SelectAll
Subscript
Superscript
Underline
Undo
Unselect


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webcore-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webcore-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webcore-dev/email@hidden

This email sent to email@hidden

References: 
 >Command identifiers supported by execCommand in Safari 1.3 (From: Stanislas Rolland <email@hidden>)
 >Re: Command identifiers supported by execCommand in Safari 1.3 (From: Darin Adler <email@hidden>)
 >Re: Command identifiers supported by execCommand in Safari 1.3 (From: Paul Ossenbruggen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.