config.js 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /**
  2. * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. CKEDITOR.editorConfig = function(config) {
  6. // Define changes to default configuration here. For example:
  7. // config.language = 'fr';
  8. // config.uiColor = '#AADC6E';
  9. config.toolbarGroups = [
  10. { name: "clipboard", groups: ["clipboard", "undo"] },
  11. { name: "editing", groups: ["find", "selection", "spellchecker"] },
  12. { name: "links" },
  13. { name: "insert" },
  14. { name: "forms" },
  15. { name: "tools" },
  16. { name: "document", groups: ["mode", "document", "doctools"] },
  17. { name: "others" },
  18. { name: "basicstyles", groups: ["basicstyles", "cleanup"] },
  19. {
  20. name: "paragraph",
  21. groups: ["list", "indent", "blocks", "align", "bidi"]
  22. },
  23. { name: "styles" },
  24. { name: "colors" },
  25. { name: "about" }
  26. ];
  27. config.font_names =
  28. "宋体/SimSun;新宋体/NSimSun;仿宋/FangSong;楷体/KaiTi;仿宋_GB2312/FangSong_GB2312;" +
  29. "楷体_GB2312/KaiTi_GB2312;黑体/SimHei;华文细黑/STXihei;华文楷体/STKaiti;华文宋体/STSong;华文中宋/STZhongsong;" +
  30. "华文仿宋/STFangsong;华文彩云/STCaiyun;华文琥珀/STHupo;华文隶书/STLiti;华文行楷/STXingkai;华文新魏/STXinwei;" +
  31. "方正舒体/FZShuTi;方正姚体/FZYaoti;细明体/MingLiU;新细明体/PMingLiU;微软雅黑/Microsoft YaHei;微软正黑/Microsoft JhengHei;" +
  32. "Arial Black/Arial Black;" +
  33. config.font_names;
  34. };