microboard-ui-temp 0.1.98 → 0.1.99
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/index.js +5 -1
- package/dist/spa.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -439731,7 +439731,11 @@ class TextEditor extends import_react362.default.Component {
|
|
|
439731
439731
|
return true;
|
|
439732
439732
|
}
|
|
439733
439733
|
if (event.key === "Enter" && !event.shiftKey) {
|
|
439734
|
-
|
|
439734
|
+
if (this.props.text.editor.handleSplitListItem()) {
|
|
439735
|
+
return true;
|
|
439736
|
+
}
|
|
439737
|
+
this.props.text.editor.splitNode();
|
|
439738
|
+
return true;
|
|
439735
439739
|
}
|
|
439736
439740
|
if (event.key === "Tab" && !event.shiftKey) {
|
|
439737
439741
|
return this.props.text.editor.handleWrapIntoNestedList();
|
package/dist/spa.js
CHANGED
|
@@ -439731,7 +439731,11 @@ class TextEditor extends import_react362.default.Component {
|
|
|
439731
439731
|
return true;
|
|
439732
439732
|
}
|
|
439733
439733
|
if (event.key === "Enter" && !event.shiftKey) {
|
|
439734
|
-
|
|
439734
|
+
if (this.props.text.editor.handleSplitListItem()) {
|
|
439735
|
+
return true;
|
|
439736
|
+
}
|
|
439737
|
+
this.props.text.editor.splitNode();
|
|
439738
|
+
return true;
|
|
439735
439739
|
}
|
|
439736
439740
|
if (event.key === "Tab" && !event.shiftKey) {
|
|
439737
439741
|
return this.props.text.editor.handleWrapIntoNestedList();
|