@seafile/sdoc-editor 3.0.26 → 3.0.27

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.
package/dist/context.js CHANGED
@@ -84,6 +84,7 @@ var Context = /*#__PURE__*/function () {
84
84
  }, {
85
85
  key: "getSetting",
86
86
  value: function getSetting(key) {
87
+ if (!this.settings) return '';
87
88
  if (this.settings[key] === false) return this.settings[key];
88
89
  return this.settings[key] || '';
89
90
  }
@@ -260,7 +260,7 @@ var SIDE_TRANSFORM_MENUS_CONFIG = exports.SIDE_TRANSFORM_MENUS_CONFIG = [{
260
260
  text: 'Check_list'
261
261
  }, {
262
262
  id: _elementType.BLOCKQUOTE,
263
- iconClass: 'sdocfont sdoc-quote1',
263
+ iconClass: 'sdocfont sdoc-quote-left',
264
264
  type: _elementType.BLOCKQUOTE,
265
265
  text: 'Quote'
266
266
  }, {
@@ -368,7 +368,7 @@ var SIDE_INSERT_MENUS_CONFIG = exports.SIDE_INSERT_MENUS_CONFIG = (_SIDE_INSERT_
368
368
  text: 'Four_column'
369
369
  }]), _elementType.BLOCKQUOTE, {
370
370
  id: _elementType.BLOCKQUOTE,
371
- iconClass: 'sdocfont sdoc-quote1',
371
+ iconClass: 'sdocfont sdoc-quote-left',
372
372
  type: _elementType.BLOCKQUOTE,
373
373
  text: 'Quote'
374
374
  }), _elementType.FILE_VIEW, {
@@ -193,7 +193,7 @@ var SideMenu = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
193
193
  menuConfig: {
194
194
  id: 'sdoc-side-menu-item-transform',
195
195
  text: 'Transform_to',
196
- iconClass: 'sdocfont sdoc-table-of-content'
196
+ iconClass: 'sdocfont sdoc-transform-to'
197
197
  },
198
198
  className: "pr-2"
199
199
  }, /*#__PURE__*/_react["default"].createElement("i", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "3.0.26",
3
+ "version": "3.0.27",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -72,5 +72,5 @@
72
72
  "publishConfig": {
73
73
  "access": "public"
74
74
  },
75
- "gitHead": "e1d76073f60dd5086114623b19b4d74a8319b5bd"
75
+ "gitHead": "4ce29f04175bd27f356d4318c6db86f3fc7c36f9"
76
76
  }