• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. Creating Custom Commands and ... >  Workshop #2: A Command That Uses St...

Workshop #2: A Command That Uses String Access

In this workshop, you create another command that starts simple and adds complexity. The command you create here shows that accessing the DOM as a string can be used to great effect when object access is inappropriate. This includes any time the user may want to perform operations on objects that are only partially selected (such as only one word of a text chunk) or when the editing task involves pulling selected text out of a document, performing edits on it, and putting it back in the document.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint