这段代码,可以点击就复制文字,然后可以编辑器里可以粘贴。但是就是不能粘贴图片!!。这是为什么???怎样修改?

解决方案 »

  1.   

    只能是Text,URL
    SyntaxbSuccess = object.setData(sDataFormat, sData)
    ParameterssDataFormat Required. String that specifies the format of the data to be transferred, using one of the following values: 
    Text Transfers data formatted as text. 
    URL Transfers data formatted as a URL. 
     
    sData Required. String that specifies the data supplied by the source object. This information can be descriptive text, a source path to an image, or a URL for an anchor. When you pass "URL" as the sDataFormat parameter, you must use the sData parameter to provide the location of the object being transferred.  Return ValueBoolean. Returns one of the following possible values: