Skip to content

Commit

Permalink
replace cut/paste with deleteByCut/insertFromPaste, closes #18
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneswilm committed Aug 25, 2016
1 parent e3b1c9b commit a615309
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ <h5>Overview</h5>
</thead>
<tbody>
<tr><td><code>"insertText"</code></td><td>Yes</td><td>null</td><td>Non-empty Array</td></tr>
<tr><td><code>"paste"</code></td><td>null</td><td>Yes</td><td>Non-empty Array</td></tr>
<tr><td><code>"insertFromPaste"</code></td><td>null</td><td>Yes</td><td>Non-empty Array</td></tr>
<tr><td><code>"insertFromDrop"</code></td><td>null</td><td>Yes</td><td>Non-empty Array</td></tr>
<tr><td><code>"insertNonText"</code></td><td>null</td><td>Yes</td><td>Non-empty Array</td></tr>
<tr><td><code>"insertFromYank"</code></td><td>null</td><td>Yes</td><td>Non-empty Array</td></tr>
Expand All @@ -222,13 +222,14 @@ <h5>Attributes</h5>
<code>"insertLineBreak"</code>, <code>"insertParagraph"</code>,
<code>"insertOrderedList"</code>, <code>"insertUnorderedList"</code>,
<code>"insertHorizontalRule"</code>, <code>"insertFromYank"</code>,
<code>"deleteWordForward"</code>, <code>"insertFromDrop"</code>,
<code>"insertFromDrop"</code>, <code>"insertFromPaste"</code>,
<code>"deleteWordForward"</code>,
<code>"deleteWordBackward"</code>, <code>"deleteLineForward"</code>,
<code>"deleteLineBackward"</code>, <code>"deleteComposedCharacterBackward"</code>,
<code>"deleteComposedCharacterForward"</code>,
<code>"deleteContentBackward"</code>, <code>"deleteContentForward"</code>,
<code>"deleteByDrag"</code>
<code>"undo"</code>, <code>"redo"</code>, <code>"cut"</code>, <code>"paste"</code>,
<code>"deleteByDrag"</code>, <code>"deleteByCut"</code>,
<code>"undo"</code>, <code>"redo"</code>,
<code>"transpose"</code>,
<code>"bold"</code>, <code>"italic"</code>, <code>"underline"</code>,
<code>"strikeThrough"</code>, <code>"superscript"</code>,
Expand Down Expand Up @@ -396,13 +397,13 @@ <h5>Attributes</h5>
</li>

<li>If the user <a data-lt="express intention">expresses an intention</a>
to cut, the inputType MUST be
<code>"cut"</code>.
to remove the current selection as part of a cut, the inputType MUST be
<code>"deleteByCut"</code>.
</li>

<li>If the user <a data-lt="express intention">expresses an intention</a>
to paste, the inputType MUST be
<code>"paste"</code>.
<code>"insertFromPaste"</code>.
</li>

<li>If the user <a data-lt="express intention">expresses an intention</a>
Expand Down Expand Up @@ -503,7 +504,7 @@ <h5>Attributes</h5>
</p>

<ol>
<li>If the inputType is <code>"paste"</code>,
<li>If the inputType is <code>"insertFromPaste"</code>,
<code>"insertFromDrop"</code>, <code>"transpose"</code>,
<code>"insertNonText"</code>, or <code>"insertFromYank"</code> the dataTransfer attribute is a
prepopulated <a>DataTransfer</a> object so that:
Expand Down

0 comments on commit a615309

Please sign in to comment.