@seafile/sdoc-editor 0.1.22 → 0.1.23

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.
@@ -51,7 +51,7 @@ export var MENUS_CONFIG_MAP = (_MENUS_CONFIG_MAP = {}, _defineProperty(_MENUS_CO
51
51
  }), _defineProperty(_MENUS_CONFIG_MAP, CODE_BLOCK, {
52
52
  id: CODE_BLOCK,
53
53
  iconClass: 'iconfont icon-code-block',
54
- text: 'code-block'
54
+ text: 'code_block'
55
55
  }), _defineProperty(_MENUS_CONFIG_MAP, LINK, {
56
56
  id: "sdoc_".concat(LINK),
57
57
  iconClass: 'iconfont icon-link',
@@ -84,7 +84,7 @@ var HeaderMenu = /*#__PURE__*/function (_React$Component) {
84
84
  onClick: this.onToggleClick
85
85
  }, /*#__PURE__*/React.createElement("span", {
86
86
  className: "active"
87
- }, HEADER_TITLE_MAP[headerType]), /*#__PURE__*/React.createElement("span", {
87
+ }, t(HEADER_TITLE_MAP[headerType])), /*#__PURE__*/React.createElement("span", {
88
88
  className: headerIconClass
89
89
  })), isShowHeaderPopover && /*#__PURE__*/React.createElement("div", {
90
90
  className: "header-popover"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",