mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-23 13:44:18 +08:00
Merge branch 'master' of git://github.com/albergoniSivaf/BookStack into albergoniSivaf-master
This commit is contained in:
commit
891dbfe085
|
@ -25,6 +25,7 @@ import 'codemirror/mode/sql/sql';
|
|||
import 'codemirror/mode/toml/toml';
|
||||
import 'codemirror/mode/xml/xml';
|
||||
import 'codemirror/mode/yaml/yaml';
|
||||
import 'codemirror/mode/pascal/pascal'
|
||||
|
||||
// Addons
|
||||
import 'codemirror/addon/scroll/scrollpastend';
|
||||
|
@ -78,6 +79,7 @@ const modeMap = {
|
|||
xml: 'xml',
|
||||
yaml: 'yaml',
|
||||
yml: 'yaml',
|
||||
pascal: 'text/x-pascal',
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
<a @click="updateLanguage('SQL')">SQL</a>
|
||||
<a @click="updateLanguage('XML')">XML</a>
|
||||
<a @click="updateLanguage('YAML')">YAML</a>
|
||||
<a @click="updateLanguage('PASCAL')">Pascal</a>
|
||||
</small>
|
||||
</div>
|
||||
<input @keypress.enter="save()" id="code-editor-language" type="text" @input="updateEditorMode(language)" v-model="language">
|
||||
|
|
Loading…
Reference in New Issue
Block a user