1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Render codefence by codemirror rather than by hljs

This commit is contained in:
Dick Choi
2016-10-24 18:05:01 +09:00
parent 706dd3e616
commit df0af2a11f
14 changed files with 137 additions and 163 deletions

View File

@@ -50,8 +50,8 @@ class NoteItem extends React.Component {
<div styleName='title'>
{note.type === 'SNIPPET_NOTE'
? <i styleName='title-icon' className='fa fa-fw fa-code'/>
: <i styleName='title-icon' className='fa fa-fw fa-file-text-o'/>
? <i styleName='title-icon' className='fa fa-fw fa-code' />
: <i styleName='title-icon' className='fa fa-fw fa-file-text-o' />
}
{note.title.trim().length > 0
? note.title