Alasdair Smith 8 лет назад
Родитель
Сommit
94b7cdcae0
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      services/web/public/es/rich-text.js

+ 2 - 2
services/web/public/es/rich-text.js

@@ -1,10 +1,10 @@
 import CodeMirror, { Doc } from 'codemirror'
 
-export function init(rootEl) {
+export function init (rootEl) {
   return CodeMirror(rootEl)
 }
 
-export function openDoc(cm, content) {
+export function openDoc (cm, content) {
   const newDoc = Doc(content)
   cm.swapDoc(newDoc)
   return newDoc