Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New files (NavBar) #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

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.

index.html Outdated
<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