Skip to content

New files (NavBar)#24

Open
PlIlchevski wants to merge 2 commits into
oxy-compsci:masterfrom
PlIlchevski:Buttons
Open

New files (NavBar)#24
PlIlchevski wants to merge 2 commits into
oxy-compsci:masterfrom
PlIlchevski:Buttons

Conversation

@PlIlchevski

Copy link
Copy Markdown

I followed your instructions in the e-mail.

@justinnhli justinnhli left a comment

Copy link
Copy Markdown
Member

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.

Comment thread index.html
<button id="genericButton" onclick="buttonCopy()">COPY</button>
<button id="genericButton" onclick="buttonCut()">CUT</button>
<button id="genericButton" onclick="buttonPaste()">PASTE</button>
<br>

Copy link
Copy Markdown
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.

Comment thread stylesheet.css Outdated
cursor: not-allowed;
}

#genericButton {

Copy link
Copy Markdown
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

PlIlchevski commented May 25, 2018 via email

Copy link
Copy Markdown
Author

@justinnhli justinnhli left a comment

Copy link
Copy Markdown
Member

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.

Comment thread brick-editor.js
* @returns {undefined}
*/
function buttonPaste(){
document.execCommand('Paste', data);

Copy link
Copy Markdown
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?

Comment thread brick-editor.js
@@ -1,7 +1,7 @@
/* global require, module, editor, editorState, blockDict, monaco */

Copy link
Copy Markdown
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