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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to adopt Monace editor instead of Ace editor #13

Merged
merged 2 commits into from Nov 28, 2019

Conversation

AhyoungRyu
Copy link
Contributor

Dropped react-ace and brought react-monaco-editor instead ;)
Screen Shot 2019-11-27 at 2 59 37 PM

^^ But I couldn't make the editor height fit in the container yet 馃槄

@AhyoungRyu AhyoungRyu self-assigned this Nov 27, 2019
@@ -0,0 +1,6 @@
# In progress
Copy link
Contributor

Choose a reason for hiding this comment

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

Forgot to add this in prev. commits

"bootstrap": "4.3.1",
"connected-react-router": "6.4.0",
"functional-immutable": "1.0.1",
"history": "4.9.0",
"immutable": "4.0.0-rc.12",
"lodash": "4.17.14",
"monaco-editor": "0.17.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

);
}) => {
// todo - find better logic to set editor height
const height = ((editorText.split('\n').length) * LINE_HEIGHT) + PADDING;
Copy link
Contributor

Choose a reason for hiding this comment

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

Hacky line height

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! 馃檹馃徏

@AhyoungRyu AhyoungRyu assigned sravan-s and AhyoungRyu and unassigned AhyoungRyu Nov 28, 2019
@AhyoungRyu AhyoungRyu merged commit 8271317 into master Nov 28, 2019
@AhyoungRyu AhyoungRyu deleted the trial/monacoEditor branch November 28, 2019 15:58
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.

None yet

2 participants