Merge pull request #434 from ZmagoD/zd_SCI_915

Text is deleted when entering smart annotation in rich text editor
This commit is contained in:
Zmago Devetak 2017-01-20 13:01:29 +01:00 committed by GitHub
commit c1e7cc83a7

View file

@ -405,11 +405,11 @@ var SmartAnnotation = (function() {
acceptSpaceBar: true,
displayTimeout: 120000
})
.atwho(atWhoSettings('#', DEFAULT_SEARCH_FILTER))
.atwho(atWhoSettings('task#', FilterTypeEnum.TASK))
.atwho(atWhoSettings('project#', FilterTypeEnum.PROJECT))
.atwho(atWhoSettings('experiment#', FilterTypeEnum.EXPERIMENT))
.atwho(atWhoSettings('sample#', FilterTypeEnum.SAMPLE));
.atwho(atWhoSettings('#', DEFAULT_SEARCH_FILTER));
// .atwho(atWhoSettings('task#', FilterTypeEnum.TASK)) Waiting for better times
// .atwho(atWhoSettings('project#', FilterTypeEnum.PROJECT))
// .atwho(atWhoSettings('experiment#', FilterTypeEnum.EXPERIMENT))
// .atwho(atWhoSettings('sample#', FilterTypeEnum.SAMPLE));
}
return {