Editor.defaultoptions.js 792 B

123456789101112131415161718192021222324252627282930
  1. //维护编辑器一下默认的不在插件中的配置项
  2. UE.Editor.defaultOptions = function(editor) {
  3. var _url = editor.options.UEDITOR_HOME_URL;
  4. return {
  5. isShow: true,
  6. initialContent: "",
  7. initialStyle: "",
  8. autoClearinitialContent: false,
  9. iframeCssUrl: _url + "themes/iframe.css",
  10. textarea: "editorValue",
  11. focus: false,
  12. focusInEnd: true,
  13. autoClearEmptyNode: true,
  14. fullscreen: false,
  15. readonly: false,
  16. zIndex: 999,
  17. imagePopup: true,
  18. enterTag: "p",
  19. customDomain: false,
  20. lang: "zh-cn",
  21. langPath: _url + "lang/",
  22. theme: "default",
  23. themePath: _url + "themes/",
  24. allHtmlEnabled: false,
  25. scaleEnabled: false,
  26. tableNativeEditInFF: false,
  27. autoSyncData: true,
  28. fileNameFormat: "{time}{rand:6}"
  29. };
  30. };