1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-21 05:31:45 +00:00

add SnippetDeleteModal & fix some bugs

This commit is contained in:
Rokt33r
2015-07-17 09:03:49 +09:00
parent c2fcc72e62
commit 0dde2eb20f
8 changed files with 132 additions and 9 deletions

View File

@@ -14,6 +14,7 @@ var CodeEditor = React.createClass({
editor.setValue(this.props.code)
editor.renderer.setShowGutter(true)
editor.setTheme('ace/theme/xcode')
editor.clearSelection()
var session = editor.getSession()
session.setMode('ace/mode/' + this.props.mode)