Skip to content

Conversation

@PlIlchevski
Copy link

I followed your instructions in the e-mail.

Copy link
Member

@justinnhli justinnhli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple small changes, but otherwise looks good.

<button id="genericButton" onclick="buttonCopy()">COPY</button>
<button id="genericButton" onclick="buttonCut()">CUT</button>
<button id="genericButton" onclick="buttonPaste()">PASTE</button>
<br>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably mean class="genericButton" and not id.

stylesheet.css Outdated
cursor: not-allowed;
}

#genericButton {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change this to ".genericButton" to make it with with classes

@PlIlchevski
Copy link
Author

PlIlchevski commented May 25, 2018 via email

Copy link
Member

@justinnhli justinnhli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Several more things. Also take a look at the CI results and fix them.

* @returns {undefined}
*/
function buttonPaste(){
document.execCommand('Paste', data);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am confused by this line - what's data?

@@ -1,7 +1,7 @@
/* global require, module, editor, editorState, blockDict, monaco */

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to add your new functions into this list to fix the lint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants