@dxos/react-ui-editor 0.4.7-main.dca306f → 0.4.7-main.ec8b8b7
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/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/index.mjs.map +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/types/src/components/TextEditor/TextEditor.d.ts.map +1 -1
- package/dist/types/src/extensions/markdown/bundle.d.ts.map +1 -1
- package/package.json +24 -24
- package/src/components/TextEditor/TextEditor.tsx +2 -0
- package/src/extensions/markdown/bundle.ts +0 -1
- package/src/extensions/markdown/decorate.ts +1 -1
|
@@ -1980,7 +1980,7 @@ var uncheckedTask = Decoration4.replace({
|
|
|
1980
1980
|
});
|
|
1981
1981
|
var editingRange = (state, range, focus) => {
|
|
1982
1982
|
const { readOnly, selection: { main: { head } } } = state;
|
|
1983
|
-
return focus && !readOnly && head >= range.from && head
|
|
1983
|
+
return focus && !readOnly && head >= range.from && head < range.to;
|
|
1984
1984
|
};
|
|
1985
1985
|
var MarksByParent = /* @__PURE__ */ new Set([
|
|
1986
1986
|
"CodeMark",
|