mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #12027 from overleaf/mj-autocomplete-brace
[cm6] Add brace after inserting autocompletion GitOrigin-RevId: c6d590e7ef89ea22ba227f7e771942b444da2dc7
This commit is contained in:
parent
8616c53839
commit
2c9ae7cc81
1 changed files with 9 additions and 4 deletions
|
@ -36,8 +36,11 @@ const initialize = () => {
|
|||
{
|
||||
_id: 'root-folder-id',
|
||||
name: 'rootFolder',
|
||||
docs: [],
|
||||
fileRefs: [],
|
||||
docs: [
|
||||
{ _id: 'test-file-id', name: 'testfile.tex' },
|
||||
{ _id: 'test-bib-file-id', name: 'testsources.bib' },
|
||||
],
|
||||
fileRefs: [{ _id: 'test-image-id', name: 'frog.jpg' }],
|
||||
folders: [],
|
||||
},
|
||||
],
|
||||
|
@ -63,7 +66,7 @@ const initialize = () => {
|
|||
$broadcast: () => {},
|
||||
$root: {
|
||||
_references: {
|
||||
keys: [],
|
||||
keys: ['bibkeyExample'],
|
||||
},
|
||||
},
|
||||
ui: {
|
||||
|
@ -115,7 +118,9 @@ const initialize = () => {
|
|||
metadataManager: {
|
||||
metadata: {
|
||||
state: {
|
||||
documents: {},
|
||||
documents: {
|
||||
'test-file-id': { labels: ['sec:section-label'], packages: [] },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue