editor.jade 807 B

12345678910111213141516171819202122232425262728
  1. div.full-size(
  2. ng-show="ui.view == 'editor'"
  3. layout="pdf"
  4. resize-on="layout:main:resize"
  5. )
  6. .ui-layout-center
  7. .loading-panel(ng-show="!editor.sharejs_doc || editor.opening")
  8. i.fa.fa-spin.fa-refresh
  9. |   Loading...
  10. #editor(
  11. ace-editor,
  12. ng-show="!!editor.sharejs_doc && !editor.opening"
  13. theme="settings.theme",
  14. keybindings="settings.mode",
  15. font-size="settings.fontSize",
  16. auto-complete="settings.autoComplete",
  17. spell-check-language="project.spellCheckLanguage",
  18. annotations="onlineUserCursorAnnotations[editor.open_doc_id]"
  19. show-print-margin="false",
  20. sharejs-doc="editor.sharejs_doc",
  21. last-updated="editor.last_updated",
  22. cursor-position="editor.cursorPosition",
  23. resize-on="layout:main:resize,layout:pdf:resize"
  24. )
  25. .ui-layout-east
  26. include ./pdf