Skip to content

Commit

Permalink
Debug ondragstart block
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Jan 11, 2025
1 parent 8793d76 commit 0536412
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ exclude-result-prefixes="#all"
<xsl:choose>
<!-- allow drag on the block element (not necessarily top-level) -->
<xsl:when test="self::div[contains-token(@class, 'block')]">
<xsl:message>ixsl:ondragstart top-level block</xsl:message>
<xsl:message>ixsl:ondragstart block: <xsl:value-of select="serialize(.)"/></xsl:message>
<ixsl:set-property name="dataTransfer.effectAllowed" select="'move'" object="ixsl:event()"/>
<!-- get the top-level block for this block (could be self) and use its URI -->
<!-- TO-DO: better condition for checking whether blocks are top-level? -->
Expand Down

0 comments on commit 0536412

Please sign in to comment.