@seafile/sdoc-editor 0.2.20 → 0.2.21

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.
@@ -61,7 +61,7 @@ var SDocOutline = function SDocOutline(_ref) {
61
61
  onClick: toggleShow
62
62
  })), list.length === 0 && /*#__PURE__*/React.createElement("p", {
63
63
  className: "mt-4 text-secondary"
64
- }, t('Headings_you_add_to_the_document_will_appear_here')), list.length > 0 && /*#__PURE__*/React.createElement("ol", {
64
+ }, t('Headings_you_add_to_the_document_will_appear_here')), list.length > 0 && /*#__PURE__*/React.createElement("div", {
65
65
  className: "sdoc-outline-list-container"
66
66
  }, list.map(function (item, index) {
67
67
  return /*#__PURE__*/React.createElement(OutlineItem, {
@@ -43,7 +43,7 @@ var OutlineItem = /*#__PURE__*/function (_React$PureComponent) {
43
43
  'pl-7': type === 'header3',
44
44
  'active': isHighlighted
45
45
  });
46
- return /*#__PURE__*/React.createElement("li", {
46
+ return /*#__PURE__*/React.createElement("div", {
47
47
  className: outlineItemClass,
48
48
  onClick: this.onItemClick,
49
49
  onMouseOver: this.onMouseOver,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "0.2.20",
3
+ "version": "0.2.21",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",