suneditor 2.43.6 → 2.43.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,24 +35,13 @@ export default {
35
35
  },
36
36
 
37
37
  setSubmenu: function (core) {
38
- const option = core.options;
39
38
  const lang = core.lang;
40
39
  const listDiv = core.util.createElement('DIV');
41
40
 
42
41
  listDiv.className = 'se-submenu se-list-layer se-list-font-family';
43
42
 
44
43
  let font, text, i, len;
45
- let fontList = !option.font ?
46
- [
47
- 'Arial',
48
- 'Comic Sans MS',
49
- 'Courier New',
50
- 'Impact',
51
- 'Georgia',
52
- 'tahoma',
53
- 'Trebuchet MS',
54
- 'Verdana'
55
- ] : option.font;
44
+ let fontList = core.options.font;
56
45
 
57
46
  let list = '<div class="se-list-inner">' +
58
47
  '<ul class="se-list-basic">' +