The Dreamweaver JavaScript API > Deprecated functions > dreamweaver.libraryPalette.newFromDocument() |
dreamweaver.libraryPalette.newFromDocument()
Availability
Dreamweaver 3.0, deprecated in Dreamweaver 4.0 in favor of using dw.assetPalette.setSelectedCategory("library"), then calling dw.assetPalette.newAsset().
Description
Creates a new library item based on the selection in the current document.
Arguments
bReplaceCurrent
bReplaceCurrent is a Boolean value indicating whether to replace the selection with an instance of the newly created library item.
Returns
Nothing.
Enabler
None.